19.10.2010, 21:09
Quote:
You should probably look into an custom vehicle ownership before trying on your own, look at the post i made, describes how to insert an string into the CarOwner variable.
Also searching can help you out as others also struggled with similar problems. |
pawn Код:
// The enum:
enum cInfo
{
CarModel,
CarOwner[50],
}
// The symbol:
new CarInfo[MAX_VEHICLES][cInfo];
// OnGameModeInit
for(new vehicleid; vehicleid < MAX_VEHICLES; vehicleid++)
{
strmid(CarInfo[vehicleid][CarOwner], "CarOwner", 0, 50, 50);
}
This is just an example .. but should get you going.
use some printf's to experiment.