Help! :D
#9

Quote:
Originally Posted by iggy1
Посмотреть сообщение
Isnull is a seperate function which i don't use. Its not wrong at all. If it was inefficient beyond beleif i'd understand but that won't real make a difference on performance at all, its one command.
It's not wrong, but there's no point in using strlen when isnull exists, I'm assuming params is at least 169 characters long which means isnull is about 169 times faster than strlen.

OT:
How do you check if someone is an admin? PlayerInfo[playerid][Admin]?

Edit:
Oh, I didn't see my post so I thought it wasn't created

Then change IsPlayerAdmin(i) for PlayerInfo[playerid][admin]
Reply


Messages In This Thread
Help! :D - by [MKD]Max - 08.10.2010, 08:11
Re: Help! :D - by [MKD]Max - 08.10.2010, 08:19
Re: Help! :D - by iggy1 - 08.10.2010, 08:23
Re: Help! :D - by Rachael - 08.10.2010, 08:32
Re: Help! :D - by iggy1 - 08.10.2010, 08:33
Re: Help! :D - by LarzI - 08.10.2010, 08:44
Re: Help! :D - by [MKD]Max - 08.10.2010, 08:45
Re: Help! :D - by iggy1 - 08.10.2010, 08:50
Re: Help! :D - by Lenny the Cup - 08.10.2010, 08:54
Re: Help! :D - by LarzI - 08.10.2010, 11:08

Forum Jump:


Users browsing this thread: 2 Guest(s)