Unknown Command
#2

Код:
if (strcmp(cmdtext, "/setplayertg", true ) == 0)
	{
 		new tmp[256];
		tmp = strtok(cmdtext, idx);
	    new otherplayerid;
	    if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_LIGHTRED, "Use /setplayertg [playerid/name]");
	    else if(!IsPlayerConnected(otherplayerid)) return SendClientMessage(playerid, COLOR_LIGHTRED, "This player is not connected");
	        SendClientMessage(otherplayerid,COLOR_LIGHTRED,"You've been set to [Team 2] by an [Admin].");
			setTG[otherplayerid] = 1;
	    return 1;
	}
maybe so, but i dont know.
Reply


Messages In This Thread
Unknown Command - by Kudoz - 10.06.2013, 14:10
AW: Unknown Command - by Blackazur - 10.06.2013, 14:12
Re: Unknown Command - by Kudoz - 10.06.2013, 14:16
Re: Unknown Command - by IceBilizard - 10.06.2013, 14:18
Re: Unknown Command - by Kudoz - 10.06.2013, 14:24
Re: Unknown Command - by IceBilizard - 10.06.2013, 14:25
Re: Unknown Command - by Kudoz - 10.06.2013, 14:32
Re: Unknown Command - by IceBilizard - 10.06.2013, 14:40
Re: Unknown Command - by Kudoz - 10.06.2013, 14:47
Re: Unknown Command - by IceBilizard - 10.06.2013, 15:08

Forum Jump:


Users browsing this thread: 2 Guest(s)