16.03.2011, 20:23
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
about the gate cmd its easy first make a gate
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!!!)
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
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);
}
pawn Код:
new gate;
public OnGameModeInit()
{
gate = CreateObject(objectid, x, y, z, rx, ry, rz, w/e);
}
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;
}
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