IfPlayerLogged
#2

public OnPlayerSpawn(playerid)
{
new CheckForDarren[MAX_PLAYER_NAME];
GetPlayerName(playerid,CheckForDarren,sizeof(Check ForDarren));
if(skink==270) && CheckForDarren == "Darren_Kok" {
new string[128];
format(string,sizeof(string),"Welcome back Darren")
SetPlayerTeam(playerid, 1);
GangRank[playerid] = 1337;
SendClientMessage(COLOR_PURPLE,string);
}
return 1;

should be...

public OnPlayerSpawn(playerid)
{
new CheckForDarren[MAX_PLAYER_NAME];
GetPlayerName(playerid,CheckForDarren,sizeof(Check ForDarren));
if(skink==270 && strcmp(CheckForDarren, "Darren_Kok", true) {
new string[128];
format(string,sizeof(string),"Welcome back Darren")
SetPlayerTeam(playerid, 1);
GangRank[playerid] = 1337;
SendClientMessage(COLOR_PURPLE,string);
}
return 1;
}
Reply


Messages In This Thread
IfPlayerLogged - by [GOD]Dragonster82 - 03.10.2011, 07:31
Re: IfPlayerLogged - by TheLazySloth - 03.10.2011, 08:02
Re: IfPlayerLogged - by [GOD]Dragonster82 - 03.10.2011, 08:02
Re: IfPlayerLogged - by [HiC]TheKiller - 03.10.2011, 08:10
Re: IfPlayerLogged - by [GOD]Dragonster82 - 03.10.2011, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)