SA-MP Forums Archive
please need help !! - 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: please need help !! (/showthread.php?tid=177642)



please need help !! - [Lsrcr]Rafa - 18.09.2010

1.) Guys i want some1 to tell me how i can make the gate to open just for one player or to make to give him rights for that gate

2.) How to make the gate to open just for admin.

3.) How to show the places like (Temple, Marina, Idlewood ....... etc etc) down on the map

realy thanks for your help !!!


Re: please need help !! - prez_jake - 18.09.2010

um i can tell you gate but do you want open that only one player can sees or only works for one player


Re: please need help !! - [Lsrcr]Rafa - 18.09.2010

open it

and how to give him rights to open it !


Re: please need help !! - [Lsrcr]Rafa - 18.09.2010

help


Re: please need help !! - prez_jake - 18.09.2010

ok no rights need like this
Quote:

gate = CreateObject(969, 1500, 1500, 72.27, 0.00, 0.00, 35.93);

for the gate where you put your objects with your own pos of course
at top some where put new
Quote:

new gate;

for command do
Код:
	if(!strcmp(cmdtext, "/opengate", true)) // By Prez_Jake
	{
    		new name[MAX_PLAYER_NAME], string[44];
    		GetPlayerName(playerid, name, sizeof(name));
		if(name,"playername",true)
		{
			MoveObject(gate,1599.053344,-1638.123168,14.122960, 0.8);
		}
	}
but i am not sure about it


Re: please need help !! - Mike_Peterson - 18.09.2010

at question 3: EnableZoneNames is disabled since 0.3 sorry
for admin use whatjake used but delete the whole new name till if(name thing and put
IsPlayerAdmin(playerid); this is for RCON else use it with ur admin script liek
If(PlayerInfo[playerid][Level] >= 1)


Re: please need help !! - [Lsrcr]Rafa - 18.09.2010

and where to put this

If(PlayerInfo[playerid][Level] >= 1)


Re: please need help !! - LarzI - 18.09.2010

People really tend to give a shit about stickies..

https://sampforum.blast.hk/showthread.php?tid=45235

https://sampforum.blast.hk/showthread.php?tid=37271