Jump to content
  • 0

probleme poarta PD


DanielBz

Question

Salut!

Am o problema in gamemode la poarta la PD!

In loc sa se deschida si sa se inchida drept ea se inchide si deschide in diferite unngiuri!

http://imageshack.us/photo/my-images/440/samp066w.png/

http://imageshack.us/photo/my-images/220/samp067om.png/

Ce sa fac ca poarta sa ramana dreapta!

Nu stiu care e comnada sau unde gasesc poarta!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Incearca:

forward PDGATECLOSE();
public PDGATECLOSE()
{
    MoveObject(PDGATE, 1588.421631, -1638.088257, 14.655367,2);
    return 1;
}
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);
		}
	}
}

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

Link to comment
Share on other sites

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.