01.05.2012, 10:35
Look here, my command is not working properly;
The selection for the desert eagle does not exist in the dialog - When I select AK it says Uzi and when I select M4A1 it says MP5, some help please?
By the way, can you make a timer of the command being typed, it should be 200 seconds.
pawn Код:
if(strcmp(cmd, "/weapontraining", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,5,300.5705,-134.0464,1004.0625))
{
ShowPlayerDialog(playerid,0,DIALOG_STYLE_LIST,"Weapon Training","Desert Eagle\nPump Shotgun\nSawn Off\nCombat Shotgun\nUzi\nMP5\nAK-47\nM4A1\n","Buy!", "Exit");
}
return 1;
}
By the way, can you make a timer of the command being typed, it should be 200 seconds.