08.08.2010, 18:03
I have a problem here
Code:
Errors:
Lines:
Line 229 = I have no line 229 but error shows on it my last blank line is 228
Line 216 =
Ignore line 218 ill get xadmin now

Code:
pawn Код:
public OnPlayerUpdate(playerid)
{
if(!IsPlayerInRangeOfPoint(playerid, 10.0, 783.2106,-2592.9150,34.5923,))//player range place
{
if(IsCmdLvl(playerid,5))
{
MoveObject(SEX,788.29461700,-2594.71411100,10.65676100,30.0);//were it will goto
MoveObject(SEX2,776.80096400,-2591.98999000,10.71056400,30.0);//were it will goto
SendClientMessage(playerid,0x000fffaa,"The gates will close in 5 seconds!");
SetTimer("ClosesIn",5000,0);
}
else CreateExplosion( 783.2106,-2592.9150,34.5923, 2, Float:5);//place of playerrange
}
return 1;
pawn Код:
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\new.pwn(216) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\new.pwn(218) : error 017: undefined symbol "IsCmdLvl"
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\new.pwn(227) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\new.pwn(229) : error 030: compound statement not closed at the end of file (started at line 216)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Line 229 = I have no line 229 but error shows on it my last blank line is 228
Line 216 =
pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 10.0, 783.2106,-2592.9150,34.5923,))//player range place
Ignore line 218 ill get xadmin now

