Jump to content
  • 0

Mi se deschide poarta de la pd aiurea!ce pot face


Question

2 answers to this question

Recommended Posts

Posted

Incearca asa:

forward PDBARRIERCLOSE(); // Bariera Police Departament
Dupa aia.
public PDBARRIERCLOSE()
{
    SetObjectRot(PDBARRIER, 0, 270, 270);
    return 1;
}
Si la final pune in gm asta.
if (newkeys & KEY_FIRE)
{
	if(IsPlayerInAnyVehicle(playerid))
	{
		if((IsACop(playerid)) && PlayerToPoint(15, playerid,1541.8696,-1628.0836,13.3828))
		{
			SetObjectRot(PDBARRIER, 0, 0, 270);
			SendClientMessage(playerid, COLOR_LIGHTRED, "The barrier of Los Santos Police Departament has been opened.");
			SetTimer("PDBARRIERCLOSE", 6000, false);
		}
		if((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 1588.2966,-1637.8121,13.4255))
		{
			MoveObject(PDGATE,1597.846802, -1638.088257, 14.655367,2);
			SendClientMessage(playerid, COLOR_LIGHTRED, "The gate of Los Santos Police Departament has been opened.");
			SetTimer("PDGATECLOSE", 10000, false);
		}
	}
}

Si ai rezolvat problema cu barriera la PD.

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.