Define and CMD
#3

pawn Код:
new pName[MAX_PLAYER_NAME];
new str[32];
GetPlayerName(playerid, pName, sizeof(pName));
if(format(str, sizeof(str), "%s", pName) == DrugLeader)
{
 // function
}
I think this might work, use just use some variable ..
Reply


Messages In This Thread
Define and CMD - by Lajko1 - 16.03.2014, 12:27
Re : Define and CMD - by anou1 - 16.03.2014, 12:33
Re : Define and CMD - by Golimad - 16.03.2014, 12:35
Re: Define and CMD - by Lajko1 - 16.03.2014, 12:53
Re: Define and CMD - by Ciarannn - 16.03.2014, 13:35
Re: Define and CMD - by Lajko1 - 16.03.2014, 14:20
Re: Define and CMD - by Abagail - 16.03.2014, 14:23
Re: Define and CMD - by Ciarannn - 16.03.2014, 14:27
Re: Define and CMD - by Lajko1 - 16.03.2014, 14:34

Forum Jump:


Users browsing this thread: 4 Guest(s)