How to get this info?
#1

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.
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),
    ...
};
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.
Reply


Messages In This Thread
How to get this info? - by Rulaz - 22.09.2010, 19:11
Re: How to get this info? - by MadeMan - 22.09.2010, 19:23
Respuesta: How to get this info? - by Rulaz - 22.09.2010, 20:02
Re: How to get this info? - by [XST]O_x - 22.09.2010, 20:07
Re: How to get this info? - by MadeMan - 22.09.2010, 20:15
Respuesta: How to get this info? - by Rulaz - 22.09.2010, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)