[HELP] --- /wanted
#1

Hey scripters
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;
	}
I dont know how to do this..
Reply


Messages In This Thread
[HELP] --- /wanted - by bijoyekuza - 19.03.2011, 19:33
Re: [HELP] --- /wanted - by Serbish - 19.03.2011, 19:52
Re: [HELP] --- /wanted - by xDeadlyBoy - 19.03.2011, 20:15

Forum Jump:


Users browsing this thread: 2 Guest(s)