22.04.2010, 09:39
Quote:
Originally Posted by [___
Whitetiger [www.sampcommunity.com] ]
you can only use AddStaticVehicle in OnGameModeInit(), if you want to create a vehicle you should use, CreateVehicle. Код:
new tmp = CreateVehicle(...); // tmp = Vehicle ID //for out of function vehicle ID, you should use GetPlayerVehicleID(playerid); //later in the script, you should destroy your car new mycar = GetPlayerVehicleID(playerid); DestroyVehicle(mycar); |
![Smiley](images/smilies/smile.png)