10.07.2018, 05:25
I'm a newbie..
==========
here's the error
here's the code
plz guys tell me what is wrong here. it gives me the error when i put this one...
help!!
==========
here's the error
Код:
C:\Users\User\Documents\SA-MP script files\samp windows server\samp037_svr_R2-1-1_win32\filterscripts\Untitled.pwn(41) : error 035: argument type mismatch (argument 2) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
if(dialogid == DIALOG_AMMU) { if(response) { switch(listitem) { case 0: if(GetPlayerMoney(playerid) >= 500) { GivePlayerWeapon(playerid, 24, 300); GivePlayerMoney(playerid, -500); GameTextForPlayer(playerid, "Thank You For Buying EGW Weapons", 5000, 5); } else { SendClientMessage(playerid, "you don't have enough money to buy this item"); } } } else return 1; return 1; }
Код:
else { SendClientMessage(playerid, "you don't have enough money to buy this item"); }