[Ajuda] o QUE TEM ERRADO?
#1

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

 new cmd[256];
 if(strcmp(cmd, "/desbug", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
		new Float:x, Float:y, Float:z;
		GetPlayerPos(playerid, x, y, z);
		RemovePlayerFromVehicle(playerid);
		SetPlayerPos(playerid, x, y,z+3);
		TogglePlayerControllable(playerid,1);
	 }
   return 1;
 }
 
 return SendClientMessage(playerid, Vermelho,"[ERRO] Comando Inexistente!");
}
Mesmo digitando cmd errado o desbug й ativado...
esqueci como resolve isso =/
Reply


Messages In This Thread
o QUE TEM ERRADO? - by Kasura - 25.07.2012, 10:49
Re: o QUE TEM ERRADO? - by humildadeforever - 25.07.2012, 11:00
Re: o QUE TEM ERRADO? - by Kasura - 25.07.2012, 11:52

Forum Jump:


Users browsing this thread: 1 Guest(s)