[Map] [MAP]Admin House - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (
https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [Map] [MAP]Admin House (
/showthread.php?tid=40895)
[MAP]Admin House -
RaZZoR - 23.06.2008
Admin House
Information:That's a admin house with nice interior .(filterscript)
Location:El Quebrados -
Screens:
Commands:
To open the front door use /opend1 , and to close it /closed1.
To open the back door use /opend2 , and to close it /closed2.
To teleport in the house use /aht.
All commands need rcon login
Credits:RaZZoR
Download:
Rapidshare
Re: [MAP]Admin House -
Zack9764 - 23.06.2008
Soooo what is it? A house for admins? Or meeting place? O_o Put a description please. Still looks pretty cool though. I'm gonna try it. It's a filterscript? Sorry for the nub question. I'm new to scripting >_<
Re: [MAP]Admin House -
RaZZoR - 23.06.2008
Quote:
Originally Posted by Zack9764
Soooo what is it? A house for admins? Or meeting place? O_o Put a description please. Still looks pretty cool though. I'm gonna try it. It's a filterscript? Sorry for the nub question. I'm new to scripting >_<
|
Yes its a filterscript.
Re: [MAP]Admin House -
Yaheli_Faro - 23.06.2008
looks nice, i'm gonna try it out.
Re: [MAP]Admin House -
cmg4life - 23.06.2008
gj u lil TOny Hawk
Re: [MAP]Admin House -
mihai_naidn - 23.06.2008
good work mister cmg
Re: [MAP]Admin House -
Zh3r0 - 23.06.2008
Nic, but dude, add an Admin check or look a bit at this code
pawn Код:
if (strcmp(cmdtext, "/opend1", true) == 0)
{
MoveObject(door, -1478.891235, 2643.351563, 59.087662, 3.5);
return 1;
}
if (strcmp(cmdtext, "/closed1", true) == 0)
{
MoveObject(door , -1483.239014, 2643.393066, 59.073196, 3.5);
return 1;
}
if (strcmp(cmdtext, "/opend2", true) == 0)
{
MoveObject(door2,-1467.543579, 2623.611084, 59.080223, 3.5);
return 1;
}
if (strcmp(cmdtext, "/closed2", true) == 0)
{
MoveObject(door2,-1470.028564, 2623.604492, 59.073196, 3.5);
return 1;
}
Strange , seems everyone can use it, and u sayd that only admins...:\
GJ anyway
Re: [MAP]Admin House -
RaZZoR - 24.06.2008
Quote:
Originally Posted by [DSK
Zh3r0 ]
Nic, but dude, add an Admin check or look a bit at this code
pawn Код:
if (strcmp(cmdtext, "/opend1", true) == 0) { MoveObject(door, -1478.891235, 2643.351563, 59.087662, 3.5); return 1; }
if (strcmp(cmdtext, "/closed1", true) == 0) { MoveObject(door , -1483.239014, 2643.393066, 59.073196, 3.5); return 1; } if (strcmp(cmdtext, "/opend2", true) == 0) { MoveObject(door2,-1467.543579, 2623.611084, 59.080223, 3.5); return 1; } if (strcmp(cmdtext, "/closed2", true) == 0) { MoveObject(door2,-1470.028564, 2623.604492, 59.073196, 3.5); return 1; }
Strange , seems everyone can use it, and u sayd that only admins...:\
GJ anyway
|
Ok i added
Код:
if(IsPlayerAdmin(playerid));
So the new update needs rcon login to use the commands.
What means GJ?
GJ = Great Job?
Re: [MAP]Admin House -
MasterAssasin - 24.06.2008
It means Good Job, or Great Job. And yes, this is a pretty nice script
.
Re: [MAP]Admin House -
RaZZoR - 24.06.2008
Quote:
Originally Posted by MasterAssasin
It means Good Job, or Great Job. And yes, this is a pretty nice script .
|
Ok,thanks.