SA-MP Forums Archive
AddStaticVehicleEx - 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: AddStaticVehicleEx (/showthread.php?tid=456267)



AddStaticVehicleEx - SampzzonE - 05.08.2013

what can i do when symbol already defined: "AddStaticVehicleEx"?


Re: AddStaticVehicleEx - dEcooR - 05.08.2013

Dude be sure you have AddStaticVehicleEx inside OnGameModeInit/OnFSInit

example:
Код:
public OnGameModeInit()
{
    AddStaticVehicleEx(428,-2644.09960938,1351.29980469,7.40000010,91.99951172,-1,-1,15);
    return 1;
}



Re: AddStaticVehicleEx - Chrisis - 05.08.2013

AddStaticVehicleEx adds a vehicle , but unlike AddStaticVehicle it contains a respawn delay . and it can only be used in OnGameModeInit and OnFilterScriptInit . unlike CreateVehicle .