I need this with more skins (CMD ONLY COPS CAN OPEN MOVEOBJECTS) DONT WORK
#6

There are more and better ways but here is an example;

Код:
		if (!strcmp("/healing",cmdtext,true))
	  {
   	new copskin = GetPlayerSkin(playerid);
  	if( (copskin == 287) || (copskin == 163) || (copskin == 282) || (copskin == 255) || (copskin == 165))
		{
		SendClientMessage(playerid, 0x0000FF96, "== You are a cop.");
		SetPlayerHealth(playerid, 100.0);
		SetPlayerArmour(playerid,100);
		
		}
		else
		{
		SendClientMessage(playerid, 0xFFFF00AA, "== You are not a cop!.");
	  }

	  }
Replace setplayerhealth and gviegplayerarmour with your moveobject stuff
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)