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=132313)
error -
Pawel2k9 - 07.03.2010
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid,)//this line
{
if (IsPlayerInVehicle(playerid,Carlist[playerid][Carid]))
{
GetVehiclePos(Carlist[playerid][Carid],Carlist[playerid][X],Carlist[playerid][Y],Carlist[playerid][Z]);
GetVehicleZAngle(Carlist[playerid][Carid],Carlist[playerid][Rotation]);
}
}
Код:
(1158) : error 010: invalid function or declaration
Re: error -
Steven82 - 07.03.2010
I think it is saying basicly the script section right there is not finished and needs to be finished before i can compile.
Re: error -
Razvann - 07.03.2010
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)//this line
{
if (IsPlayerInVehicle(playerid,Carlist[playerid][Carid]))
{
GetVehiclePos(Carlist[playerid][Carid],Carlist[playerid][X],Carlist[playerid][Y],Carlist[playerid][Z]);
GetVehicleZAngle(Carlist[playerid][Carid],Carlist[playerid][Rotation]);
}
}
Facepalm.