How to add a /me to a command
#6

Whole code:
Код:
if(tazeronbelt[playerid] == 1)
            {
				tazeronbelt[playerid] = 0;
				SetPlayerAttachedObject(playerid, 0, 18642, 6, 0.06, 0.01, 0.08, 180.0, 0.0, 0.0);
				SendClientMessage(playerid,GREEN,"Your tazer has been un-holsterd");
			}
			else if(tazeronbelt[playerid] == 0)
			{
				tazeronbelt[playerid] = 1;
                RemovePlayerAttachedObject(playerid, 0);
                SendClientMessage(playerid,GREEN, "Your tazer has been holsterd");
			}
			else
			{
				SendClientMessage(playerid, GREEN, "You are not connected");
			}
		}
		else
		{
		    SendClientMessage(playerid, GREEN, "You are not a cop");
		}
		return 1;
	}
	return 1;
}
Reply


Messages In This Thread
How to add a /me to a command - by BraynBoyj - 20.06.2011, 14:14
Re: How to add a /me to a command - by SpiderWalk - 20.06.2011, 14:32
Re: How to add a /me to a command - by Stigg - 20.06.2011, 14:33
Re: How to add a /me to a command - by Snipa - 20.06.2011, 14:37
Re: How to add a /me to a command - by Alvord - 20.06.2011, 14:43
Re: How to add a /me to a command - by BraynBoyj - 20.06.2011, 15:04
Re: How to add a /me to a command - by BraynBoyj - 20.06.2011, 15:18
Re: How to add a /me to a command - by Mean - 20.06.2011, 15:38
Re: How to add a /me to a command - by BraynBoyj - 20.06.2011, 15:41
Re: How to add a /me to a command - by Alvord - 20.06.2011, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)