SA-MP Forums Archive
Can some one help me please. CLICK THIS ;] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Can some one help me please. CLICK THIS ;] (/showthread.php?tid=125795)



Can some one help me please. CLICK THIS ;] - Karl115 - 05.02.2010

Can some one please help me do some gates and a /adv command for advertisment and a command so gangs can do /robbank and get a limite of 3k. They can rob a bank ever 5hrs.


Re: Can some one help me please. CLICK THIS ;] - Agent Smith - 05.02.2010

https://sampwiki.blast.hk/wiki/Automatic_Gates - Gates

https://sampwiki.blast.hk/wiki/SendClientMessageToAll - /advertisement


Re: Can some one help me please. CLICK THIS ;] - MadeMan - 05.02.2010

http://joestaff.wikispaces.com/Automatic%20Gates - better version of automatic gates.


Re: Can some one help me please. CLICK THIS ;] - Karl115 - 05.02.2010

I NEED gates that only families can open example grove open the gates of her HQ


Re: Can some one help me please. CLICK THIS ;] - Karl115 - 05.02.2010

Any one ;[]


Re: Can some one help me please. CLICK THIS ;] - Julian2574 - 05.02.2010

Quote:
Originally Posted by Karl115
Any one ;[]
Then make the command only work for that faction Example:
Код:
	 public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	new pveh = GetVehicleModel(GetPlayerVehicleID(playerid));
	new newcar = GetPlayerVehicleID(playerid);
  new string[256];
	new sendername[MAX_PLAYER_NAME];
  if(newkeys == KEY_HORN)
  {
   if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3) // Who can open the gate...
    if (PlayerToPoint(30, playerid,WHERE THE GATE CAN BE OPEN'D))
		{
   		MoveObject(CODE HERE);
   		SetTimer("GateClose7", 7000, 0);
   		GetPlayerName(playerid, sendername, sizeof(sendername));
   		format(string, sizeof(string), "* %s takes his/her remote control and opens the door.", sendername);
   		ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    	}
	return 1;
  }
A example , YOu'll have to modify it to make it work prob ...