16.01.2011, 19:15
Code (from line 70):
Errors:
any ideas?
Thanks A Lot!
pawn Код:
public CheckGate1()
{
new housegate_status;
for(new i;i<MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i)) continue;
if(IsPlayerInRangeOfPoint(i,15.0,1524.88696289,2768.30151367,12.44526672))housegate_status=1;
}
if((GetPlayerName) == Jack_Rocker)
{
if(housegate_status)
{
MoveObject(housegate, 1524.88891602,2757.93823242,12.44526672,5);//open position
MoveObject(housegate1, 1524.88891602,2757.93823242,12.44526672,5);
}
else
{
MoveObject(housegate, 1524.88696289,2768.30151367,12.44526672, 5);//closed position
MoveObject(housegate1, 1524.86389160,2777.95532227,12.44526672, 5);
}
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "You Can't Enter Because This Is The Jack_Rocker's Grand Slam");
}
Код:
C:\Users\Jack\Desktop\samp\gamemodes\lspdgate.pwn(78) : error 076: syntax error in the expression, or invalid function call C:\Users\Jack\Desktop\samp\gamemodes\lspdgate.pwn(93) : error 017: undefined symbol "playerid" C:\Users\Jack\Desktop\samp\gamemodes\lspdgate.pwn(95) : error 030: compound statement not closed at the end of file (started at line 72) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Thanks A Lot!