How to fix car spawning spamming issue?
#5

Quote:
Originally Posted by EAsT-OAK_510
Посмотреть сообщение
One more thing, When I type "/getcar" the

pawn Код:
if(sscanf(params, "mj", params)) return SendClientMessage(playerid, -1, "USAGE: /getcar [1-2]");
part of the script is not showing up. Any help?
Try like this:

pawn Код:
new num;
if(sscanf(params, "d", num)) return SendClientMessage(playerid, -1, "USAGE: /getcar [1-2]");
if(num != 1 && num != 2) return SendClientMessage(playerid, -1, "USAGE: /getcar [1-2]");
Replace if(!strcmp(params, "1", true)) to if(num == 1)
Replace else if(!strcmp(params, "2", true)) to else if(num == 2)
Reply


Messages In This Thread
Command not working 100% - by EAsT-OAK_510 - 01.12.2012, 23:04
Re: How to fix car spawning spamming issue? - by stabker - 02.12.2012, 01:06
Re: How to fix car spawning spamming issue? - by EAsT-OAK_510 - 02.12.2012, 02:33
Re: How to fix car spawning spamming issue? - by EAsT-OAK_510 - 03.12.2012, 22:44
Re: How to fix car spawning spamming issue? - by stabker - 04.12.2012, 18:28
Re: How to fix car spawning spamming issue? - by EAsT-OAK_510 - 05.12.2012, 21:07

Forum Jump:


Users browsing this thread: 2 Guest(s)