A quick help
#3

Quote:
Originally Posted by AhmedMohamed
Посмотреть сообщение
pawn Код:
stock VehicleOwner(vehid, playerid)
{
if(!strcmp(vInfo[vehid][vehOwner], ReturnPlayerName(playerid)))
     return true;
return false;
}
That is horrible!
Why would you store the name? The ID is fine get the name when you need to.
Reply


Messages In This Thread
A quick help - by SymonClash - 11.02.2019, 21:24
Re: A quick help - by AhmedMohamed - 11.02.2019, 23:00
Re: A quick help - by Pottus - 11.02.2019, 23:15
Re: A quick help - by AhmedMohamed - 11.02.2019, 23:22
Re: A quick help - by Thundey - 12.02.2019, 00:05
Re: A quick help - by SymonClash - 12.02.2019, 00:17
Re: A quick help - by SymonClash - 12.02.2019, 13:52

Forum Jump:


Users browsing this thread: 2 Guest(s)