tag dismatch - 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: tag dismatch (
/showthread.php?tid=569967)
tag dismatch -
kingcrome - 04.04.2015
Код HTML:
GetPlayerMoney(playerid, Player[playerid][Cash]);
why is there tag dismatch here?
Код:
SetSpawnInfo(playerid, 0, Player[playerid][LastSkin], Player[playerid][Cash], Player[playerid][LastX], Player[playerid][LastY], Player[playerid][LastZ], Player[playerid][LastA], 0, 0, 0, 0, 0, 0);
warning 213: tag mismatch
warning 202: number of arguments does not match definition
AW: tag dismatch -
Mencent - 04.04.2015
Hello!
You must do it like so:
PHP код:
GetPlayerMoney(playerid);
GivePlayerMoney(playerid,Player[playerid][Cash]);