Something simple i cant figer out -.-
#1

I want it so it send a message to player if thay are not in the team that can only use it..

Код:
        if(!strcmp(cmdtext,"/rpg",true)) if(gTeam[playerid] != CLASS_MERC)
        {
           weptimer[playerid] =120;
        if(weptimer[playerid]) return SendClientMessage(playerid,RED,"[ATT]:Please Wait Before Using This Command Again!");
        GivePlayerWeapon(playerid, 35, 50);
        SendClientMessage(playerid, RED, "[ATT]: RPG Recieved With 50 Rockets!");
        return 1;
        }
This does nothing..

Код:
        if(!strcmp(cmdtext,"/rpg",true)) if(gTeam[playerid] != CLASS_MERC)
	    {
   		weptimer[playerid] =120;
		if(weptimer[playerid]) return SendClientMessage(playerid,RED,"[ATT]:Please Wait Before Using This Command Again!");
		GivePlayerWeapon(playerid, 35, 50);
		SendClientMessage(playerid, RED, "[ATT]: RPG Recieved With 50 Rockets!");
                else SendClientMessage(playerid, RED, "[ATT]: You Cant Use This Command!");//Addition
		return 1;
	    }
Any Help
Reply


Messages In This Thread
Something simple i cant figer out -.- - by <Weponz> - 25.10.2010, 14:34
Re: Something simple i cant figer out -.- - by BMUK - 25.10.2010, 14:46
Re: Something simple i cant figer out -.- - by SampStunta - 25.10.2010, 15:06
Re: Something simple i cant figer out -.- - by Scenario - 25.10.2010, 15:26
Re: Something simple i cant figer out -.- - by Kyle - 25.10.2010, 15:30
Re: Something simple i cant figer out -.- - by <Weponz> - 25.10.2010, 15:46
Re: Something simple i cant figer out -.- - by Kyle - 25.10.2010, 15:50
Re: Something simple i cant figer out -.- - by Scenario - 25.10.2010, 15:54
Re: Something simple i cant figer out -.- - by Kyle - 25.10.2010, 15:55
Re: Something simple i cant figer out -.- - by BMUK - 25.10.2010, 15:57

Forum Jump:


Users browsing this thread: 2 Guest(s)