11.02.2014, 19:14
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
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; }