SA-MP Forums Archive
Requesting help with my script. - 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)
+--- Thread: Requesting help with my script. (/showthread.php?tid=358709)



Requesting help with my script. - devil shill - 11.07.2012

hello...

i have a ravens script and i fixed most of the bugs but i noticed there is no grove gang -.-''' so i put it in but now if i want to compile it pawno is not responding ...... if someone would help me a bit to fix this that would be great.

pleas someone with experience on the Ravens script.

Add me on Skype: ron_linan

Regards Ronald


Re: Requesting help with my script. - zT KiNgKoNg - 11.07.2012

sorry but please post the error code
on the topic then we can help you & if you have removed some code
then thats why also 'PUTTED' is not a word


Re: Requesting help with my script. - RedJohn - 11.07.2012

Type your Grove Gang code you added!


Re: Requesting help with my script. - devil shill - 11.07.2012

Found the problem its this code.

Код:
		
                        //Grove HQ
			if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
			{
			    PlayerInfo[playerid][pInteriorNr] = 42;
				SafeSetPlayerPos(playerid, 2351.0479,-1180.8905,1027.9766);
				GameTextForPlayer(playerid, "~w~Grove Street HQ",5000,1);
				SafeSetPlayerInterior(playerid,3);
				SetPlayerFacingAngle(playerid, 90);
			}
			else if(hqlock[surlock] == 0)
			{
			    PlayerInfo[playerid][pInteriorNr] = 42;
			    SafeSetPlayerPos(playerid, 2351.0479,-1180.8905,1027.9766);
				GameTextForPlayer(playerid, "~w~Grove Street HQ",5000,1);
				SafeSetPlayerInterior(playerid,3);
				SetPlayerFacingAngle(playerid, 90);
			}
			else
			{
			    GameTextForPlayer(playerid, "~r~Locked",5000,1);
			}
		}
		else if (IsPlayerInRangeOfPoint(playerid, 1, 2496.0500,-1692.9301,1014.7422,180))
		{
			//Grove HQ
			PlayerInfo[playerid][pInteriorNr] = 0;
			SafeSetPlayerPos(playerid, 2495.2263,-1690.4860,14.7656,277.4666);
			GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
			SafeSetPlayerInterior(playerid,0);
			SetPlayerFacingAngle(playerid, 179);
		}