SOLVED
#1

-SOLVED-
Reply
#2

Quote:
Originally Posted by Toxik
Посмотреть сообщение
[pawn]TEST[pawn/]
What?
Reply
#3

pawn Код:
forward Delaykick(playerid);
public Delaykick(playerid)
{
    Kick(playerid);
}
CMD:kick(playerid,params[])
{
new id,reason[100],msg[128],pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
if(PlayerInfo[playerid][Admin] < 1) return SendMessage(playerid,COLOR_TEAM2,"You can't use this command","Ban khong the su dung lenh nay");
if(sscanf(params,"us[100]",id)) return SendMessage(playerid,COLOR_TEAM2,"USAGE:/kick [id]","SuDung:/kick [id] [reason]");
if(!IsPlayerConnected(id)) return SendMessage(playerid,COLOR_TEAM2,"Player not connect","Nguoi choi khong online");
format(msg,sizeof(msg),"%s has been kicked by administration REASON: %s",pname,reason);
SendClientMessageToAll(-1,msg);
SetTimerEx("DelayKick",500,false,"i",playerid);
return 1;
}
Reply
#4

Don't ever erase or edit the topic to "SOLVED".. If somebody has a problem like you so he can find a solution for it.
Reply
#5

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
Don't ever erase or edit the topic to "SOLVED".. If somebody has a problem like you so he can find a solution for it.
Maybe he wants to hide the script he made so people don't steal it? Ever thought of that?
Reply
#6

Quote:
Originally Posted by Blast3r
Посмотреть сообщение
Maybe he wants to hide the script he made so people don't steal it? Ever thought of that?
Lmao? Steal his code of 10 lines? HAHAHA R U FKN KIDDING ME?
Reply
#7

Nah i solved that so i removed
Reply
#8

Yeah but if somebody else has a problem like you they can't find a solution for it so please next time don't remove it.
Reply
#9

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
Don't ever erase or edit the topic to "SOLVED".. If somebody has a problem like you so he can find a solution for it.
Let's say you gave all your GM code i am sure you don't want people to steal it and use this for them self
Reply
#10

That's why you just give the callback/function that is wrong not the whole script.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)