[FilterScript] ""help me""fs v 0.2 improved :)
#1

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;
}
Reply


Messages In This Thread
""help me""fs v 0.2 improved :) - by PLAYHARD112 - 11.02.2014, 19:14
Re: ""help me""fs v 0.2 improved :) - by RocketBoy - 11.02.2014, 19:33
Re: ""help me""fs v 0.2 improved :) - by Lumineux - 12.02.2014, 05:09

Forum Jump:


Users browsing this thread: 1 Guest(s)