01.06.2013, 06:16
Код:
CMD:givemoney(playerid, params[]) { new playerb, amount; if(sscanf(params,"ui",playerb,amount)) return SendClientMessage(playerid,lblue, "USAGE: /givemoney [playerid][amount]"); if(!IsPlayerConnected(playerb)) return SendClientMessage(playerid,grey, "Invalid player id."); GiveDrichMoney(playerb,amount); return 1; }
if(!IsPlayerConnected(playerb)) return SendClientMessage(playerid,grey, "Invalid player id.");
this line where i get this error
Код:
test1.pwn(140) : error 035: argument type mismatch (argument 2) test1.pwn(141) : error 035: argument type mismatch (argument 2)