Quote from: Charleyutton on March 28, 2011, 11:43:12 AMoo lag
Hahaha, are you calling a timer to loop round all the players every half a second? If you add much more to this script then it will lag the server down heavily.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Charleyutton on March 28, 2011, 11:43:12 AMoo lag
Hahaha, are you calling a timer to loop round all the players every half a second? If you add much more to this script then it will lag the server down heavily.
Quote from: theway on March 21, 2011, 08:09:10 AMyea what the props do there is no propspawn system and heal
nice work, if i buy one prop, what can it do for me? ,
You test the pwn, what some bugs u know , if has some bug u need to tell us
public OnPlayerText(playerid, cmdtext[])
{
new cmd[256], tmp[256],tmp2[256],rules[256];
new idx, plr, Count, i;
new Float:x, Float:y, Float:z;
cmd = strtok(cmdtext, idx);
format(INFO,256, REGISTERS, gPlayers[playerid]);
new spammer = (GetTickCount()-MSNCount[playerid])/MSNxSEC;
MSNPlayer[playerid]+=spammer-1;
if(MSNPlayer[playerid]>LIMIT_REP_SPAM)MSNPlayer[playerid]=LIMIT_REP_SPAM-1;
if(MSNPlayer[playerid]<0)MSNPlayer[playerid]=-1;
MSNCount[playerid]=GetTickCount();
if(MSNPlayer[playerid]<0) {
PlayerKicked(playerid,"Server","-"," NO SPAMM");
return 1;
}
else if (strcmp(cmd, cmd, true) == 0) {
if (strcmp(cmd, Spamming[playerid][LastText], true) == 0 && Spamming[playerid][CountText] >= 3) PlayerKicked(playerid,"Server","-"," SPAMMING");
else {
format(MSN,256,"%s", cmdtext);
if (strcmp(cmd, Spamming[playerid][LastText], true) == 0) {Spamming[playerid][LastText] = MSN; Spamming[playerid][CountText] = Spamming[playerid][CountText] + 1;}
else {Spamming[playerid][LastText] = MSN; Spamming[playerid][CountText] = 0;}
}
return 1;
}
Quote from: yazeen on March 14, 2011, 09:49:25 AMyea and also heal when playes use/c gotoloc they need to teleport after 5 sec
He is asking for !goto player
Like hunting and european server
Goto in 10sec for avoding Death evade