how make helper for my roleplay gamemode
#6

pawn Код:
CMD:helpme(playerid,params[])
{
 new str[128];
 if(sscanf(params,"s[128]",str)
 {
 SendClientMessage(playerid,-1,"/helpme [text/question]");
 return 1;
 }
 else
 {
 new i;
 for(i=0;i<MAX_PLAYERS;i++)
 {
 if(IsPlayerConnected(i))
 {
 if(PlayerInfo[i][pHelper] >=5) //Level/Rank according to you.
 {
 SendClientMessage(i,-1,str);
 }
 }
 }
 }
 return 1;
}
Reply


Messages In This Thread
how make helper for my roleplay gamemode - by kinggta - 15.06.2014, 13:44
Re: how make helper for my roleplay gamemode - by Laure - 15.06.2014, 13:46
Re: how make helper for my roleplay gamemode - by kinggta - 15.06.2014, 13:49
Re: how make helper for my roleplay gamemode - by Rittik - 15.06.2014, 13:55
Re: how make helper for my roleplay gamemode - by kinggta - 15.06.2014, 14:02
Re: how make helper for my roleplay gamemode - by Rittik - 15.06.2014, 14:08

Forum Jump:


Users browsing this thread: 1 Guest(s)