19.03.2011, 19:33
Hey scripters
I want to make a command for cops that shows the wanted players
something like this
I dont know how to do this..
I want to make a command for cops that shows the wanted players
something like this
Код:
if(strcmp(cmd,"/wanted",true) == 0)
{
if(PlayerInfo[playerid][pCop] > 2)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerWantedLevel(i))
{
new names[MAX_PLAYER_NAME],string[256];
GetPlayerName(i,names,sizeof(names));
format(string,sizeof(string),"Wanted players are : %s %s %s",names,names,names);
}
}
}
return 1;
}

