A Request Help command
#1

Hello. for all you who have played NGG RP I would like to have a /requesthelp [reason] command like them.

For thouse who dont know I was a command that a player can send and a admin or a helper will recive it and can type something like /accept help and the helper will automatically be teleported to the caller.

I am not a really experienced scripter at all so If you could please do a step by step it would be best helpful

join my server! : thebrp.zapto.org:7777
Reply
#2

Quote:

join my server! : thebrp.zapto.org:7777

Dude, You can't advertise here
Reply
#3

Quote:
Originally Posted by Cody9611
Посмотреть сообщение
Dude, You can't advertise here
Sorry Dude, Ill take it out with you wish, -.-

But if your replying to this thread you better have someething helpful to say :@
Reply
#4

Sounds simple enough.

pawn Код:
CMD:requesthelp(playerid, params[])
{
    new Sender[MAX_PLAYER_NAME];
    new Str[128];
    GetPlayerName(playerid, Sender, sizeof(Sender));
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /requesthelp [reason]");
    format(Str, sizeof(Str), "[Help Needed] %s: %s", Sender, params);
    SendClientMessageToAll(COLOR_LIGHTBLUE, Str);
    return 1;
}
This is a simple example, which would Send the message to all players if someone needs help. What ever variables you have included into your gamemode regarding Helpers/Admins, you would need to make minor edits to the command posted.
Reply
#5

Quote:
Originally Posted by ryankielly
Посмотреть сообщение
Sorry Dude, Ill take it out with you wish, -.-

But if your replying to this thread you better have someething helpful to say :@
Your an idiot..i say that will all do respect, i mean with ALL do respect.
Reply
#6

Quote:
Originally Posted by Steven82
Посмотреть сообщение
Your an idiot..i say that will all do respect, i mean with ALL do respect.
Where the hell do you see "Will all do respect" all i see if you giving me shit abut adv my server
Reply
#7

Quote:
Originally Posted by ryankielly
Посмотреть сообщение
Hello. for all you who have played NGG RP I would like to have a /requesthelp [reason] command like them.

For thouse who dont know I was a command that a player can send and a admin or a helper will recive it and can type something like /accept help and the helper will automatically be teleported to the caller.

I am not a really experienced scripter at all so If you could please do a step by step it would be best helpful

join my server! : thebrp.zapto.org:7777
You have to tell us the name of the Admin & Helper Variabile.
Reply
#8

Quote:
Originally Posted by MoroDan
Посмотреть сообщение
You have to tell us the name of the Admin & Helper Variabile.
The name of the Admin is Ryan_Kielly and what do you mean helper variabile
Reply
#9

Quote:

I was a command that a player can send and a admin or a helper will recive it and can type something like /accept help and the helper will automatically be teleported to the caller.

To be admin or helper on a server, the player must have a specific variable.
Reply
#10

Quote:
Originally Posted by ryankielly
Посмотреть сообщение
Where the hell do you see "Will all do respect" all i see if you giving me shit abut adv my server
I mean with all due respect. I didn't mean to make it a little flame war thats about to start. Since you never read the SA-MP forum rules.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)