A Request Help command -
ryankielly - 15.07.2011
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
Re: A Request Help command -
Cody9611 - 15.07.2011
Quote:
join my server! : thebrp.zapto.org:7777
|
Dude, You can't advertise here
Re: A Request Help command -
ryankielly - 16.07.2011
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 :@
Re: A Request Help command -
Kush - 16.07.2011
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.
Re: A Request Help command -
Steven82 - 16.07.2011
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.
Re: A Request Help command -
ryankielly - 16.07.2011
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
Re: A Request Help command -
MoroDan - 16.07.2011
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.
Re: A Request Help command -
ryankielly - 16.07.2011
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
Re: A Request Help command -
MoroDan - 16.07.2011
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.
Re: A Request Help command -
Steven82 - 16.07.2011
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.