SA-MP Forums Archive
Stock is exist but still undefined - 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: Stock is exist but still undefined (/showthread.php?tid=452190)



Stock is exist but still undefined - barbarbar1 - 20.07.2013

Error:
pawn Код:
error 017: undefined symbol "AddStaticVehicleExREGISTERED"
Line:
pawn Код:
AddStaticVehicleExREGISTERED(596,1583.5295,-1710.8306,5.8321,359.1083,0,1,30000); //
stock:
pawn Код:
stock AddStaticVehicleExREGISTERED(model, Float:x, Float:y, Float:z, Float:r, col1, col2, timer)
{
    new vehicleID = AddStaticVehicleEx(model, x, y, z, r, col1, col2, timer);
}



Respuesta: Stock is exist but still undefined - Xabi - 20.07.2013

Define it before you call the function.


Re: Respuesta: Stock is exist but still undefined - MP2 - 20.07.2013

Quote:
Originally Posted by Xabi
Посмотреть сообщение
Define it before you call the function.
You don't have to.


Re: Stock is exist but still undefined - barbarbar1 - 20.07.2013

doesn't matter.