14.02.2012, 19:57
hi
i have a car spawner in my server.
its basic
top of script
the cmd
it works but sometimes it delete the wrong car! (and the normal...so it delete 2 xD)
oh...
i have a private car system(car ownership)
the var is
and when a player spawn a car with /V , SOMETIMES it delete a player private vehicle ...
i have no idea why... please help me xD
thanks
i have a car spawner in my server.
its basic
top of script
pawn Код:
new CarVar[MAX_PLAYERS];
pawn Код:
CMD:v(playerid,params[])
{
//code to spawn vehicle by name, blabla
destroyvehicle(carvar[playerid]);
carvar[playerid] = createvehicle(...);
return 1;
}
oh...
i have a private car system(car ownership)
the var is
pawn Код:
new PrivateCar[MAX_PLAYERS];
i have no idea why... please help me xD
thanks
![cool](images/smilies/cool.png)