Spawning cars with names instead of IDs
#1

#define GetVehicleName(%0) VehicleName[GetVehicleModel(%0)-400]

I'm using Diverse Roleplay gamemode by TonyP and I have this in the gamemode.

I wanted to spawn banshee but i needed to put a car ID between 400 and 600. Can you help to make cars with name, and not IDs?
Reply
#2

Use strfind.
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
Use sscanf k<vehicle>
what is ‘k’? custom?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)