:work with switch
#7

Try this for debbugging.

Код:
CMD:gotojob(playerid, params[])
{
       new id;
       if(sscanf(params, "d", id)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /gotojob [JobID]");
       if(id <= 0) return 0;
       SetPlayerPos(playerid, JobInfo[id][jPosX], JobInfo[id][jPosY], JobInfo[id][jPosZ]);
       return 1;
}
After u use this command type /work
Reply


Messages In This Thread
:work with switch - by PepsiCola23 - 24.02.2018, 20:28
Re: :work with switch - by RogueDrifter - 24.02.2018, 20:30
Re: :work with switch - by PepsiCola23 - 24.02.2018, 20:34
Re: :work with switch - by kingmk - 24.02.2018, 21:24
Re: :work with switch - by PepsiCola23 - 24.02.2018, 21:35
Re: :work with switch - by AdamsLT - 25.02.2018, 08:00
Re: :work with switch - by kingmk - 25.02.2018, 08:33
Re: :work with switch - by PepsiCola23 - 25.02.2018, 08:55
Re: :work with switch - by kingmk - 25.02.2018, 08:56
Re: :work with switch - by PepsiCola23 - 25.02.2018, 09:10

Forum Jump:


Users browsing this thread: 1 Guest(s)