General Help with an RP server.
#1

Hi,

I was wondering if you can help me with the following things:

a) A decent spectating system, IE: Admins can use either "/spec" or "/recon", when they do "/spec off" or "/recon off" it stops spectating that paticular player and returns you to the previous position

Also, when you spectate someone, can someone please make it so you can rotate the camera (IE: move the mouse so you can see behind the player you're spectating), it would also be good if whilst spectating it would update the interior a player went into, IE: if they went into a house or police department.

b) Dynamic housing: I've searched and searched, i've only come up with "Carlito's Roleplay"

Can anyone help me find a filterscript, (apart from KIHC) which would allow me to edit exsisting houses, edit the interior, move them and create houses?

c) Jetpack: On the "/givegun" list, how can I change it so it gives someone a jetpack? (it's gun ID 21 i'm sure.)

Quote:

if(strcmp(cmd, "/givegun", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /givegun [playerid/PartOfName] [weaponid(eg. 46 = Parachute)]");
SendClientMessage(playerid, COLOR_GRAD4, "3(Club) 4(knife) 5(bat) 6(Shovel) 7(Cue) 8(Katana) 10-13(Dildo) 14(Flowers)");
SendClientMessage(playerid, COLOR_GRAD4, "16(Grenades) 18(Molotovs) 22(Pistol) 23(SPistol)");
SendClientMessage(playerid, COLOR_GRAD3, "24(Eagle) 25(shotgun) 27(spas12) 29(MP5) 30(AK47) 31(M4) 33(Rifle) 34(Sniper)");
SendClientMessage(playerid, COLOR_GRAD4, " 37(Flamethrower) 41(spray) 42(exting) 43(Camera) 46(Parachute)");
return 1;
}
new playa;
new gun;
playa = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
gun = strval(tmp);
if(gun < 1||gun > 46)
{ SendClientMessage(playerid, COLOR_GRAD1, " wrong WeaponID!"); return 1; }
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(IsPlayerConnected(playa))
{
if(playa != INVALID_PLAYER_ID)
{
GivePlayerWeapon(playa, gun, 650000);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
}
}
return 1;
}

Your help would be appreciated, and I'm sorry if i've posted in the wrong section.
Reply
#2

You're actualy asking from some us to MAKE it, and not help you with because you didn't even start a code.
I suggest you to post it on "Script Request Thread"'s section, request and wait until someone makes it for you.
http://forum.sa-mp.com/index.php?topic=94387.0
And JetPack is not a gun, it's a speical action.
Reply
#3

Quote:
Originally Posted by MenaceX^
You're actualy asking from some us to MAKE it, and not help you with because you didn't even start a code.
I suggest you to post it on "Script Request Thread"'s section, request and wait until someone makes it for you.
http://forum.sa-mp.com/index.php?topic=94387.0
And JetPack is not a gun, it's a speical action.
I know, but how do you make it so when you use "/givegun (ID) 21" it gives them a jetpack?
Reply
#4

As I said, it's a speical action, I don't remember their IDs..
Reply
#5

Code:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
Also, if you download the server files, there will be a filterscript called adminspec.pwn. Use that to make your /spec command.
Reply
#6

Thanks, i'm still a beginner but I think i'll learn in time.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)