Telecmd
#5

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp("/help", cmdtext, true) == 0)
	{
		SendClientMessage(playerid,0xAFAFAFAA,"Available Commands:");
		SendClientMessage(playerid,0xAFAFAFAA,"/controltower - ");
		return 1;
	}
	if(strcmp("/controltower", cmdtext, true) == 0)
	{
		SetPlayerPos(playerid, 1767.6691, -2431.9624, 13.5547);
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread
Telecmd - by icorne - 13.01.2010, 21:07
Re: Telecmd - by SlashPT - 13.01.2010, 21:10
Re: Telecmd - by icorne - 13.01.2010, 21:12
Re: Telecmd - by SlashPT - 13.01.2010, 21:12
Re: Telecmd - by Toad - 13.01.2010, 21:12
Re: Telecmd - by icorne - 13.01.2010, 21:14
Re: Telecmd - by akis_tze - 13.01.2010, 21:28

Forum Jump:


Users browsing this thread: 1 Guest(s)