script problem - 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)
+--- Thread: script problem (
/showthread.php?tid=415311)
script problem -
blackdragon1 - 12.02.2013
(3777) : error 017: undefined symbol "vehicleid"
(3777) |||| SetVehicleVirtualWorld(vehicleid, GetPlayerVirtualWorld(playerid));
Re: script problem -
ReVo_ - 12.02.2013
Means "vehicleid" is not declared.
You can use GetPlayerVehicleID(playerid); instead of vehicleid
Re: script problem -
blackdragon1 - 12.02.2013
did and now undefined symbol "playerid"
Re: script problem -
DaRk_RaiN - 12.02.2013
pawn Код:
for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
Re: script problem -
darkdrago - 12.02.2013
Post the callback or we can't help you...
I think is a timer...
You've to add this on the callback and forward:
Код:
forward CALLBACKNAME(playerid);
public CALLBACKNAME(playerid)
{
//Your code
return 1;
}
Or if you have a stock:
Код:
stock NAMEHERE(playerid)
{
//Your code here
return 1;
}