Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error (
/showthread.php?tid=196742)
Error -
Osviux - 06.12.2010
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;
}
Re: Error -
Lynn - 06.12.2010
Change,
public GateTimer()
to: public GateTimer(playerid)
and
forward GateTimer()
to: forward GateTimer(playerid)
Re: Error -
Osviux - 06.12.2010
Код:
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
Re: Error -
Lynn - 06.12.2010
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 25, -1631.78, 688.24, 8.6))
{