21.08.2012, 16:28
Ah, ok. Undo this change, I'm blind a little.
Do this only in your sellveh command (because you already have it implemented in parkveh).
Protip: it would be easier if you had stored owner id instead of nick.
pawn Код:
//Find
if(GetCreatorID(vehicleid)!=0)
//Change to
if(GetCreatorID(vehicleid) != 0 && strmatch(VehicleSystem[GetCreatorID(vehicleid)][owner],Spielername(playerid)))
Protip: it would be easier if you had stored owner id instead of nick.