please help guyz
#6

sorry guyz didn't work out
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;
 }
and here's the errors:
Код:
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.
Please HELP ANYONE
Reply


Messages In This Thread
please help guyz - by MBX97 - 31.05.2011, 23:49
Re: please help guyz - by Steven82 - 31.05.2011, 23:57
Re: please help guyz - by TheGarfield - 01.06.2011, 00:08
Re: please help guyz - by MBX97 - 01.06.2011, 00:46
Re: please help guyz - by Snipa - 01.06.2011, 01:03
Re: please help guyz - by MBX97 - 01.06.2011, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)