03.09.2012, 08:58
Make a global variable
Now, when player typr /neon check if he has neon.
If he dont
If they already have it,
Just an example.
pawn Код:
new neon[MAX_PLAYERS][MAX_VEHICLES];//To store object id
new bool:HasNeaon[MAX_PLAYERS][MAX_VEHICLES]; // To check if he have neon
If he dont
pawn Код:
neon[playerid][vehicleid] = CreateObject..
//and attach
pawn Код:
DestroyObject(neon[playerid][vehicleid]