HELP FAST - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP FAST (
/showthread.php?tid=555425)
HELP FAST -
aCloudy - 07.01.2015
How can i add another name to this ?
Code:
if(!IsPlayerName(playerid,"TheKing"))
Re: HELP FAST -
DavidSparks - 07.01.2015
I dont really understand, can you try to explain in more details?
Re: HELP FAST -
HazardouS - 07.01.2015
pawn Code:
if(!IsPlayerName(playerid,"TheKing") && !IsPlayerName(playerid, "OtherName"))
To add another name as parameter, just modify the IsPlayerName function.
Re: HELP FAST -
Alex MagaŃa - 07.01.2015
Change This:
pawn Code:
if(!IsPlayerName(playerid,"TheKing"))
To This:
pawn Code:
if(!IsPlayerName(playerid,"YourNameHere"))
Simple lel! And try to find also
TheKing via PAWNO (F2)
OR
Do what HazardouS said.
OFFTOPIC: i didn't understand well your question. but now i doubt what you want it.
Re: HELP FAST -
aCloudy - 07.01.2015
LOOOL.
Guys.
Don't think me that stupid.
I want another name,
Example:
Code:
IsPlayerName TheKing + TheKing2.