SA-MP Forums Archive
Some 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)
+--- Thread: Some help? (/showthread.php?tid=596372)



Some help? - N0FeaR - 16.12.2015

Thanks in advance!

Код:
warning 202: number of arguments does not match definition
Код:
	            	SendClientMessageEx(playerid, COLOR_WHITE, "ERROR: %s car assets are frozen, they cannot buy a car!",CheckSex(playerid));



Re: Some help? - Crayder - 16.12.2015

Show us SendClientMessageEx and CheckSex. Neither of them are natives, so how are we going to know their parameters without seeing the definitions?


Re: Some help? - SickAttack - 16.12.2015

pawn Код:
new string[144];
format(string, sizeof(string), "ERROR: %s car assets are frozen, they cannot buy a car!", CheckSex(playerid));
SendClientMessage(playerid, COLOR_WHITE, string);



Re: Some help? - N0FeaR - 17.12.2015

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
pawn Код:
new string[144];
format(string, sizeof(string), "ERROR: %s car assets are frozen, they cannot buy a car!", CheckSex(playerid));
SendClientMessage(playerid, COLOR_WHITE, string);
Thx dude!