[FilterScript] ""help me""fs v 0.2 improved :) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] ""help me""fs v 0.2 improved :) (
/showthread.php?tid=494115)
""help me""fs v 0.2 improved :) -
PLAYHARD112 - 11.02.2014
once i was playing in a rp server i was new in that server ..i called for help asked for help but they didnt repond me
..so i decided to make this script its simple but usefull
and i hope u like it
cmds::
/emg
Code:
//made by "PLAYHARD" AND GOT SOMEMORE FRNDS HELP :)
//WE ALWAYS ON OUR GRININ TO MAKE SCRIPTS THAT BENIFITS PLAYERS
//ITS V 0.2 IMPROVED THEN THE LAST PROGRAM
//IF U FIND ANY PROB WITH THIS SCRIPT PM ME THE WHOLE FIX THNX :)
#include <a_samp>
new HelpRequested[MAX_PLAYERS];
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/emg", cmdtext, true) == 0)
{
if(HelpRequested[playerid] == 1) return SendClientMessage(playerid,-1,"You already requested help wait a bit.");
new string[64];
new name[32];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s NEEDS HELP HELP HIM HURRY!!",name);
GameTextForAll(string,3000,2);
GameTextForPlayer(playerid,"your help request has been sent to all player",3000,3);
HelpRequested[playerid] = 1;
SetTimerEx("CanRequestAgain",10000,false,"i",playerid);
return 1;
}
return 1;
}
forward CanRequestAgain(playerid);
public CanRequestAgain(playerid)
{
SendClientMessage(playerid, -1, "Now you can request new help");
HelpRequested[playerid] = 0;
return 1;
}
Re: ""help me""fs v 0.2 improved :) -
RocketBoy - 11.02.2014
Yeah! Good job..its helpful for newbie>.<
Re: ""help me""fs v 0.2 improved :) -
Lumineux - 12.02.2014
It can be helpful for newbie scripters. Good Job