CMD:am(playerid, params[]) { if(IsAdmin(playerid)) { new toid, message[65]; if(sscanf(params, "us[65]", toid, message)) return Syntax(playerid, "[a]dmin[m]essage", "[playerid] [message]"); if(strlen(message) > 65) return Error(playerid, "Your message cannot be longer than 65 characters."); if(!IsPlayerConnected(toid)) return Error(playerid, "That player is not connected!"); new string[128]; format(STRING, "Admin message from %s: %s", GetPlayerNameEx(playerid), message); SendClientMessageEx(toid, COLOR_GREEN, string); format(STRING, "Admin %s [%d] > %s [%d]: %s", GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(toid), toid, message); SendAdminMessage(COLOR_GREEN,string); Log("logs/adminmessage.log", string); } else { new message[80]; if(sscanf(params, "s[80]", message)) return Syntax(playerid, "[a]dmin[m]essage", "[message]"); if(strlen(message) > 80) return Error(playerid, "Your message cannot be longer than 80 characters."); new string[128]; format(STRING, "Admin message from %s [%d]: %s", GetPlayerNameEx(playerid), playerid, message); SendAdminMessage(COLOR_GREEN,string); format(STRING, "Your message, %s, has been sent.", message); SendClientMessageEx(playerid, COLOR_GREEN, string); format(STRING, "Player %s [%d] > Admins: %s", GetPlayerNameEx(playerid), playerid, message); Log("logs/adminmessage.log", string); } return 1; }
new bool:IsMinPassed[MAX_PLAYERS];//on top
public OnGameModeInit()
{
for(new i=0;i<=MAX_PLAYERS;i++)IsMinPassed[i]=true;
return 1;
}
forward Min(playerid);
public Min(playerid)
{
IsMinPassed=true;
return 1;
}
CMD:am(playerid,params[])
{
if(IsMinPassed!=true)return SendClientMessage(playerid,-1,"{ff0000}You can use this once in a min");
SetTimerEx("Min",1000*60,false,"i",playerid);
MinPassed[playerid]=false;
//rest of code
}
This is my Friends Account..
His FB: www.********.com/kesarthakur35 Hello Admin, i am saikumar who is a samp player my samp forum account is stolen by a person due to my foolish ness. My Email : Saikumarreddy9948@gmail.com My Account: saikumar My Old Pass: 8801209279 My Skype : saikumar.mallela Proof : http://i.imgur.com/An9q1e4.jpg My FB : www.********.com/saikumar.mallela Proof : http://i.imgur.com/ITAxkYQ.jpg My Full Name :Saikumar Reddy Im From INDIA the ip i used to login previously : 182.72.170.33 (from myipaddress.com) (check my old posts...they are made with this) My Friends in Account: Freaked , Kesarthakur, Bingo My PMS....: Sent Approx 120 ... Received Approx 95 __________________________________________________ _____________ A person from SAMP PMed me that if i give him my account for a while he said he will help me in server thingy http://i.imgur.com/4eFext1.jpg so thats the mistake i did.... my foolishness. please forgive me and get my Account back please Hope i will get my account back... Please Email me new password of my account to saikumarreddy9948@gmail.com i wont repeat this...im begging you... Sorry for posting herer.......im out of my mind after my Account Stolen |