Wierd.
#1

Look here, my command is not working properly;
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;
    }
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.
Reply
#2

Show me your OnDialogResponse
Reply
#3

Ops, I did it abit wrong but I got it working now again, I just need the timer now.
Reply
#4

Would it be like this?;
pawn Код:
SetTimerEx(playerid, 20000));
Reply
#5

Quote:
Originally Posted by HighPitchedVoice
Посмотреть сообщение
Would it be like this?;
pawn Код:
SetTimerEx(playerid, 20000));
https://sampwiki.blast.hk/wiki/SetTimerEx
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)