[AJUDA]Server Unkown Command
#3

Code:
if(strcmp(cmdtext, "/comandoteste", true) ==0)
	  {
	    if(PlayerInfo[playerid][pLevel] < 3)
	    {
        SendClientMessage(playerid,COLOR_RED,"Vocк nгo й level 3!");
		return 1;
        }
        if(PlayerInfo[playerid][pLevel] >= 3)
	    {
	      GivePlayerMoney(playerid, 10000);
	      GivePlayerWeapon(playerid, 29,999);
				SetPlayerHealth(playerid, 100);
				SetPlayerArmour(playerid, 100);
				SendClientMessage(playerid,COLOR_RED,"Vocк usou o comando teste!");
				}
    }
		return 1;
	}
Acho que funfa, fz rapido
Reply


Messages In This Thread
[AJUDA]Server Unkown Command - by Joaquim_Blakman - 22.01.2010, 14:34
Re: [AJUDA]Server Unkown Command - by [O_o]Davidovich - 22.01.2010, 14:37
Re: [AJUDA]Server Unkown Command - by JustinSton - 22.01.2010, 14:43

Forum Jump:


Users browsing this thread: 1 Guest(s)