Need help with my Mod
#7

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Compton's Eazy E
SA-MP doesnt support mods
He's talking about script..

Quote:
Originally Posted by david_d8
Hello everybody
I would like to know if you can do that only players with certain names
could use certain commands
Thanks alot
Yes, it is. You would need to use GetPlayerName function to get player's name and strcmp to compare if the name-string is the same as the string you're checking but don't forget that strcmp will return 0 if the strings are the same (same goes if one of the strings is empty).
My Bad.... Again
Reply


Messages In This Thread
Need help with my Mod - by david_d8 - 18.08.2009, 23:01
Re: Need help with my Mod - by Eazy_Efolife - 18.08.2009, 23:02
Re: Need help with my Gmemode - by david_d8 - 18.08.2009, 23:04
Re: Need help with my Mod - by Eazy_Efolife - 18.08.2009, 23:05
Re: Need help with my Mod - by Correlli - 18.08.2009, 23:08
Re: Need help with my Mod - by david_d8 - 18.08.2009, 23:10
Re: Need help with my Mod - by Eazy_Efolife - 18.08.2009, 23:11
Re: Need help with my Mod - by david_d8 - 18.08.2009, 23:17
Re: Need help with my Mod - by Correlli - 18.08.2009, 23:21
Re: Need help with my Mod - by david_d8 - 18.08.2009, 23:37

Forum Jump:


Users browsing this thread: 1 Guest(s)