One 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: One Error (
/showthread.php?tid=130666)
One Error -
DarkPower - 27.02.2010
C:\Users\NASTIE\Documents\Moje primljene datoteke\lva.pwn(73) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
on this code
Код:
public ExitCaffe( playerid )
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 2018.4739,-2146.8569,19.8344))
}
SetPlayerPos(playerid,2086.8433,1594.0762,10.8203);
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
return 1;
}
i put "forward ExitCaffe(playerid);
errors is line below if(IsPlayerInRangeOfPoint(playerid, 2.0, 2018.4739,-2146.8569,19.8344))
can anyone fix that?
Re: One Error -
LuxurioN™ - 27.02.2010
Correct:
pawn Код:
public ExitCaffe(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, 2018.4739,-2146.8569,19.8344))
{
SetPlayerPos(playerid,2086.8433,1594.0762,10.8203);
SetPlayerVirtualWorld(playerid,0);
SetPlayerInterior(playerid,0);
}
return 1;
}
Re: One Error -
ReactionGameServers - 27.02.2010
make
pawn Код:
public ExitCaffe( playerid )
to
pawn Код:
public ExitCaffe(playerid)
Edit : Damn you beat me XD
Re: One Error -
dice7 - 27.02.2010
Quote:
Originally Posted by logicaL.
make
pawn Код:
public ExitCaffe( playerid )
to
pawn Код:
public ExitCaffe(playerid)
Edit : Damn you beat me XD
|
It doesn't make a difference, if there are extra spaces
Re: One Error -
DarkPower - 27.02.2010
lol guys, tnx lux