SA-MP Forums Archive
[Pedido] crash - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Pedido] crash (/showthread.php?tid=650099)



crash - Mackanor - 20.02.2018

alguem aн tem o comando /crash para mim passar e tipo para crashar um jogador indesejavel kkk


Re: crash - JohnBlack - 20.02.2018

O Crash nгo й a maneira mais recomendada de expulsar alguйm de um servidor atй porque os players que estгo perto dele tambйm podem ou nгo sofrer o mesmo e tambйm serem expulsos juntamente.
Mas se quiser da mesma maneira fazer isso, use algo parecido com:

Код:
GameTextForPlayer(ID_DO_PLAYER, "~~~", 1, 1);



Re: crash - Lovejoy - 20.02.2018

PHP код:
CMD:crashar(playeridparams[])
{
    new 
pid;
    if(
sscanf params"d"pid) ) return SendClientMessage(playerid, -1"Uso: /crashar [ ID ] ");
    if(!
IsPlayerConnected(pid)) return SendClientMessage(playerid, -1"Jogador nгo conectado.");
    if(
playerid == pid) return SendClientMessage(playerid, -1,"Vocк nгo pode crashar vocк mesmo. '-' ");
        
    
GameTextForPlayer (pid"$!#{]{]ЁЁ**&~w"1000) ;
    return 
1;




Re: crash - Mackanor - 20.02.2018

if(pAdmin[playerid] == 5)
{
tem como colocar isso aн so para os adms level 5?


Re: crash - Lovejoy - 20.02.2018

PHP код:
CMD:crashar(playeridparams[])
{
    new 
pid;
    if(
pAdmin[playerid] < 5) return SendClientMessage(playerid, -1"Vocк nгo pode usar esse comando");
    if(
sscanf params"d"pid) ) return SendClientMessage(playerid, -1"Uso: /crashar [ ID ] ");
    if(!
IsPlayerConnected(pid)) return SendClientMessage(playerid, -1"Jogador nгo conectado.");
    if(
playerid == pid) return SendClientMessage(playerid, -1,"Vocк nгo pode crashar vocк mesmo. '-' ");
        
    
GameTextForPlayer (pid"$!#{]{]ЁЁ**&~w"1000) ;
    return 
1;




Re: crash - Mackanor - 20.02.2018

vlw <3


Re: crash - Mackanor - 20.02.2018

ih rapaiz deu erro ;-;


Re: crash - Mackanor - 20.02.2018

GM CMR Los Crakudos\GM CMR Los Crakudos\gamemodes\CMR.pwn(18510) : error 017: undefined symbol "params"


Re: crash - Lovejoy - 20.02.2018

vocк ta sem o zcmd amigo...


Re: crash - Mackanor - 20.02.2018

to naun ;-;