22.09.2010, 19:11
Hi, im beginner @ pawn scripting and i need some help with this.
I want show a message when someone get in a vehicle,
the info to show is:
Vehicle ID, Vehicle name, what category of vehicle is it, where can be modified and the cost of the vehicle.
I saw some scripts and i think this could be a way to make it possible.
The question is, How to get that info in "SendClientMessage" function? or is there another way to make it?
and tell me if i made a mistake.
thanks in advance.
I want show a message when someone get in a vehicle,
the info to show is:
Vehicle ID, Vehicle name, what category of vehicle is it, where can be modified and the cost of the vehicle.
I saw some scripts and i think this could be a way to make it possible.
pawn Код:
enum CarInfo{
CarName[24],
CarType[24],
CarMod[24],
CarCost
};
new Cars[][CarInfo] = {
("Landstalker", "Off Road", "Transfender", 8500),
("Bravura", "Saloons", "Transfender", 15000),
("Buffalo", "Sport Vehicles", "Transfender", 35000),
...
};
and tell me if i made a mistake.
thanks in advance.