#1

Help.

Код:
C:\Users\Labas\Desktop\MPG\gamemodes\GRP.pwn(15250) : error 017: undefined symbol "playerid"
Код:
public GateTimer()
{
if(IsPlayerInRangeOfPoint(playerid, 25, -1631.78, 688.24, 8.6)
{
MoveObject(SFPDshutter, -1631.78, 688.24, 15.68,3);
SetTimer("GateClose", 10000, 0);
}
return 1;
}
Reply
#2

Change,
public GateTimer()
to: public GateTimer(playerid)
and
forward GateTimer()
to: forward GateTimer(playerid)
Reply
#3

Код:
C:\Users\Labas\Desktop\MPG\gamemodes\GRP.pwn(15251) : error 001: expected token: ")", but found "{"
The line is

Код:
if(IsPlayerInRangeOfPoint(playerid, 25, -1631.78, 688.24, 8.6)
{ ////This is the line
Reply
#4

pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 25, -1631.78, 688.24, 8.6))
{
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)