SA-MP Forums Archive
help on swat - 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: help on swat (/showthread.php?tid=129018)



help on swat - nati558866 - 20.02.2010

i need to change the /swat positition on GTA Role Play mode
i do /save
and i change the positition of /swat
and it not work

Код:
if(strcmp(cmd, "/swat", true) == 0)
	{
    if(PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pLeader] == 1)
		{
			if(swat[playerid] == 0)
      {
				if(authorizeswat == 1)
				{
					if (PlayerToPoint(3, playerid,288,255.3721,76.8789,1003) || PlayerToPoint(3,playerid,288,255.3721,76.8789,1003) || PlayerInfo[playerid][pLocal] != 255)
					{
i want the /swat be in the locker room in ls
i need help fast
thank you


Re: help on swat - DiMeNsIoN© - 20.02.2010

Maybe because you've added the wrong co-ords? You've included the player Model, change it to this:

pawn Код:
if (PlayerToPoint(3, playerid,255.3721,76.8789,1003)



Re: help on swat - nati558866 - 20.02.2010

Quote:
Originally Posted by DiMeNsIoN©
Maybe because you've added the wrong co-ords? You've included the player Model, change it to this:

pawn Код:
if (PlayerToPoint(3, playerid,255.3721,76.8789,1003)
thank you


Re: help on swat - DiMeNsIoN© - 20.02.2010

No problemo


Re: help on swat - nati558866 - 20.02.2010

now i need open more topic i do it later i cant do compile