25.11.2010, 04:43
This is the command:
This is the error I get when I compile it:
This is line 295:
Please help me with this, not sure what the error is .
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new skinid; if(playerid, "/Clothes", skinid) { IsPlayerInRangeOfPoint(playerid,10,198.9780,-127.8640,1003.5152); { SendClientMessage(playerid, COLOR_WHITE, "You Have Changed Into A New Pair Of Clothes"); SetPlayerSkin(playerid, skinid); } else { SendClientMessage(playerid, COLOR_RED, "USAGE: /Clothes [SkinID]!"); SendClientMessage(playerid, COLOR_RED, "Please Change In The Changing Booth!"); } } return 1; }
Код:
C:\Users\SoSu\Desktop\SAMP Server\gamemodes\roleplaytraining.pwn(295) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
else