Jump to content
  • 0

pomoc DIalog + OnPlayerKeyStateChange


eRko16

Dotaz

Ahoj mam problem, nejde mi pres klavesu vyvloat dialog, kdyz jsem z wiki zkusil NITRO tak to slo ale toto nejde, zadnej error ani warning nemam. Ale ve hre kdyz zmacknu NUM+ tak to nejde.

 

#define PRESSED(%0) (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if (PRESSED(KEY_SUBMISSION))
{
       ShowPlayerDialog(playerid,DIALOG_OK,DIALOG_STYLE_LIST,"{FFFFFF}wtawta","TADY TEXT","Potvrdit","Zavřít");
}
return 1;
}

Link to comment
Share on other sites

6 odpovědí na tuto otázku

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...