SOLVED - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SOLVED (
/showthread.php?tid=544651)
SOLVED -
Toxik - 03.11.2014
-SOLVED-
Re: Help me here! -
Beckett - 03.11.2014
Quote:
Originally Posted by Toxik
[pawn]TEST[pawn/]
|
What?
Re: SOLVED -
Quickie - 03.11.2014
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;
}
Re: SOLVED -
Runn3R - 03.11.2014
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.
Re: SOLVED -
Blast3r - 03.11.2014
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?
Re: SOLVED -
Runn3R - 03.11.2014
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?
Re: SOLVED -
Toxik - 04.11.2014
Nah i solved that so i removed
Re: SOLVED -
Runn3R - 04.11.2014
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.
Re: SOLVED -
Glossy42O - 04.11.2014
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
Re: SOLVED -
Runn3R - 04.11.2014
That's why you just give the callback/function that is wrong not the whole script.