PawnO : Error 202 - 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: PawnO : Error 202 (
/showthread.php?tid=365205)
PawnO : Error 202 -
Sl1mShady - 02.08.2012
C:\Users\Scripting\Desktop\Scripting Test\gamemodes\DM.pwn(41) : warning 202: number of arguments does not match definition
C:\Users\Scripting\Desktop\Scripting Test\gamemodes\DM.pwn(123) : warning 202: number of arguments does not match definition
C:\Users\Scripting\Desktop\Scripting Test\gamemodes\DM.pwn(125) : warning 202: number of arguments does not match definition
SendClientMessage(playerid,0xFF0000AA,"You died!, -250$ + Medical Bills");
GivePlayerMoney(playerid,0xFF0000AA,-250);
SendClientMessage(killerid,0x3A47DEFF,"You killed him! +500$");
GivePlayerMoney(killerid,0x3A47DEFF,500);
What about this?
Re: PawnO : Error 202 -
Goobiiify - 02.08.2012
pawn Код:
SendClientMessage(playerid,0xFF0000AA,"You died!, -250$ + Medical Bills");
GivePlayerMoney(playerid,-250);
SendClientMessage(killerid,0x3A47DEFF,"You killed him! +500$");
GivePlayerMoney(killerid,500);
Test that..
Re: PawnO : Error 202 -
Devilxz97 - 02.08.2012
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(playerid,0xFF0000AA,"You died!, -250$ -1 Score + Medical Bills");
GivePlayerMoney(playerid,-250);
SetPlayerScore(playerid, -1);
SendClientMessage(killerid,0x3A47DEFF,"You killed him! +500$ +1 Score!");
GivePlayerMoney(killerid,500);
SetPlayerScore(killerid, 1);
return 1;
}
u cant put color on GivePlayerMoney ..
Re: PawnO : Error 202 -
Sl1mShady - 02.08.2012
im nooby