[NEED HELP] Making A Crash Command - 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: [NEED HELP] Making A Crash Command (
/showthread.php?tid=355736)
[NEED HELP] Making A Crash Command -
NinjaChicken - 01.07.2012
Hello, i need some help making a command like
and that sends the player something that will crash their game can it be done if so please help
Re: [NEED HELP] Making A Crash Command -
Beginerinprogress - 01.07.2012
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/crash", true) == 0)
{
Kick(playerid);
return 1;
}
}
Hope i helped you
Re: [NEED HELP] Making A Crash Command -
Yuryfury - 01.07.2012
Search next time
https://sampforum.blast.hk/showthread.php?tid=244358
Re: [NEED HELP] Making A Crash Command -
WagnerPM - 01.07.2012
Crash the player
pawn Код:
CMD:crash(playerid, params[])
{
new
id;
if(sscanf(params, "ud", id)) return SendClientMessage(playerid, -1, "USE: /crash [ID]");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "Player not connected.");
GameTextForPlayer(id, "%%$#@1~555#",66666000, 6);
return 1;
}