01.06.2011, 15:05
sorry guyz didn't work out
here's the code
and here's the errors:
Please HELP ANYONE
here's the code
pawn Код:
dcmd_myskins(playerid, params[])
{
if(dini_Int(PFile(playerid),"VipMember")<2)return SendClientMessage(playerid, red, "[ERROR]You must became Silver member to use this command");
new skin;
new IsValidSkin;
if(sscanf(params,"i",skin)) return SendClientMessage(playerid,red,"[ERROR]USAGE: /myskins [SkinID]");
if(!IsValidSkin(skin)) return SendClientMessage(playerid,red,"[ERROR]Invalid skinID");
SetPlayerSkin(playerid,skin);
return 1;
}
Код:
V.I.P-System.pwn(199) : warning 219: local variable "IsValidSkin" shadows a variable at a preceding level V.I.P-System.pwn(201) : error 012: invalid function call, not a valid address V.I.P-System.pwn(201) : warning 215: expression has no effect V.I.P-System.pwn(201) : error 001: expected token: ";", but found ")" V.I.P-System.pwn(201) : error 029: invalid expression, assumed zero V.I.P-System.pwn(201) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.