11.01.2012, 07:36
I got an error in my script and can help me to fix it??
MY SCRIPT
ERROR
Please Help me
MY SCRIPT
Код:
//-----------[barrel trap]----------------// if (newkeys == KEY_FIRE) { if(IsPlayerInAnyVehicle(playerid)) { new Float:x, Float:y, Float:z; { if(GetPlayerMoney(playerid) >= 2000) { GetPlayerPos(playerid, x, y, z); CreateObject(1225,x,y,z, 0.00, 0.00, 0.00); GivePlayerMoney(playerid, -2000); } else { SendClientMessage(playerid,purple,"You Dont Have Enough Money"); } } else { SendClientMessage(playerid,purple,"You Must Be in Vehicle To Drop The Trap!"); } } return 1; }
Код:
C:\DOCUME~1\xp\Desktop\LZGSMI~1\GAMEMO~1\GM1.pwn(852) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase