/sellveh bug
#5

Ah, ok. Undo this change, I'm blind a little.
pawn Код:
//Find
if(GetCreatorID(vehicleid)!=0)
//Change to
if(GetCreatorID(vehicleid) != 0 && strmatch(VehicleSystem[GetCreatorID(vehicleid)][owner],Spielername(playerid)))
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.
Reply


Messages In This Thread
/sellveh bug - by MrBlake - 21.08.2012, 14:06
Re: /sellveh bug - by MrBlake - 21.08.2012, 15:36
Re: /sellveh bug - by Misiur - 21.08.2012, 15:38
Re: /sellveh bug - by MrBlake - 21.08.2012, 16:19
Re: /sellveh bug - by Misiur - 21.08.2012, 16:28
Re: /sellveh bug - by MrBlake - 21.08.2012, 16:35

Forum Jump:


Users browsing this thread: 1 Guest(s)