SA-MP Forums Archive
countdown cmd help.. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: countdown cmd help.. (/showthread.php?tid=238291)



countdown cmd help.. - Omer - 11.03.2011

Nvm lol i forgot the those things "
i did GameTextForAll(3,1500,3);
GameTextForAll(2,1500,3);
GameTextForAll(1,1500,3);
insted
GameTextForAll("3",1500,3);
GameTextForAll("2",1500,3);
GameTextForAll("1",1500,3);


Re: countdown cmd help.. - HyperZ - 11.03.2011

Show the error.


Re: countdown cmd help.. - Omer - 11.03.2011

error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)
error 035: argument type mismatch (argument 1)


Re: countdown cmd help.. - Stigg - 11.03.2011

Try:

pawn Код:
GameTextForAll(i,"3",1500,1);
GameTextForAll(i,"2",1500,1);
GameTextForAll(i,"1",1500,1);
You also need something like:

pawn Код:
for(new i=0;i<MAX_PLAYERS;i++)



Re: countdown cmd help.. - Donny_k - 11.03.2011

It is expecting a string, your are supplying it an integer:

Код:
GameTextForAll(string, integer, integer);
Check the definition on the wiki or in your function list in Pawno (right panel).


Re: countdown cmd help.. - Omer - 11.03.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Try:

pawn Код:
GameTextForPlayer(playerid,"3",1500,1);
GameTextForPlayer(playerid,"2",1500,1);
GameTextForPlayer(playerid,"1",1500,1);
i want to all players not to the player that did that cmd..


Re: countdown cmd help.. - Stigg - 11.03.2011

Quote:
Originally Posted by Omer
Посмотреть сообщение
i want to all players not to the player that did that cmd..
Changed post try that.