18.03.2011, 14:59
Not what I was looking for ******.
I want this
Then lets say I enter a checkpoint then it says "Welcome to Professional Killer"
and I have this /giverank cmd..
I dont wanna make for each ID, messages like that, it will be a big code
I got this on my /giverank cmd
I want this
pawn Код:
if(gTeam[playerid]==TEAM_PROFESSIONAL)
{
if(GetPlayerRank(playerid) == 5)
{
format(tmp,sizeof(tmp),"Welcome to Professional Killer: %s",PlayerName(playerid));
SendClientMessageToAll(TEAM_PROFESSIONAL_COLOR,tmp);
return 1;
}
else
{
SendClientMessage(playerid,Red,"You are not a Professional Killer !");
}
return 0;
}
return 1;
}
and I have this /giverank cmd..
I dont wanna make for each ID, messages like that, it will be a big code
I got this on my /giverank cmd
pawn Код:
CallLocalFunction("OnPlayerRequestSpawn", "ii", playerid, tmp);