06.01.2010, 18:25
Have a look. I am new to scripting and I made this.
Will this work?
I get this warning tough
Thanks
Will this work?
Код:
COMMAND:pay(playerid, params[]) { new payid, amount; if (!sscanf(params, "ii", payid, amount)) { if (payid != INVALID_PLAYER_ID) { new playercash[40] playercash = GetPlayerMoney if(playercash < amount) { SendClientMessage(playerid, 0xFFFFFFFF, "You can't afford that"); } else { GivePlayerMoney(payid, amount); } } else SendClientMessage(playerid, 0xFF0000FF, "That player is not connected"); } return 1; }
Quote:
C:\Users\kids\Desktop\try.pwn(249) : warning 203: symbol is never used: "pay" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. |