Two admin cmds request
#9

you are not just asking for cmds your asking for pickups interior and a gate i can make for you the cmds but the mapping is for you!!

here:
https://sampforum.blast.hk/showthread.php?tid=139409
thats a good editor program you can map the gate easily and stuff you want if you know how to make a basic cmd i will tell you how to make the only admin and /gatecmd

if you wanna make something for admins only (RCON!!!)
do this

pawn Код:
if(IsPlayerAdmin(playerid))
{
        //code
}
else
{
        //code here  will do if the player is not an admin you want an auto ban here it is
        Ban(playerid);
}
about the gate cmd its easy first make a gate
pawn Код:
new gate;

public OnGameModeInit()
{
      gate = CreateObject(objectid, x, y, z, rx, ry, rz, w/e);
}
Well Now You Made the gate now we make the command to open the gate
i will use zcmd easy fast cmd processor you can find it here:
ZCMD

gate cmd (For RCON admins only!!!)
pawn Код:
CMD:gate(playerid, params[])
{
        if(IsPlayerAdmin(playerid))
        {
                 MoveObject(gate, x, y, z-30, 5.0);
        }
        else
        {
                //code here maybe:
                Ban(playerid);
         }
      return 1;
}
look moveobject will move the object you wanna move the object down then u will
copy the gate standard pos and paste it then decrease Z thats will make the object go down up you will increase Z and in else is if the player is not admin you can do what ever you wanna do

if you still need any help tell me
i will tell you the /fly cmd soon gimme sometime
Reply


Messages In This Thread
Two admin cmds request - by Rivera - 15.03.2011, 20:43
Re: Two admin cmds request - by Rivera - 15.03.2011, 21:44
Re: Two admin cmds request - by tanush - 15.03.2011, 23:04
Re: Two admin cmds request - by Rivera - 16.03.2011, 18:44
Re: Two admin cmds request - by austin070 - 16.03.2011, 19:39
Re: Two admin cmds request - by Rivera - 16.03.2011, 20:15
Re: Two admin cmds request - by xir - 16.03.2011, 20:17
Re: Two admin cmds request - by Jochemd - 16.03.2011, 20:17
Re: Two admin cmds request - by AH.1990 - 16.03.2011, 20:23
Re: Two admin cmds request - by Rivera - 16.03.2011, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)