[Pedido] FakeBan
#3

PHP код:
CMD:banfake(playeridparams[])
{
    new 
idstr[70], motivo[70];
    if(
sscanf(params), "ds[70]"idmotivo) return SendClientMessage(playerid,-1,"Use: /banfake [id]");
    
format(str,sizeof(str), "%s foi banido por %s motivo: %s"PlayerName(id), PlayerName(playerid), motivo);
    
SendClientMessageToAll(-1str);
     
GameTextForPlayer(id"Banido"20001);
    return 
1;
}
stock PlayerName(playerid){
    new 
aname[24];
    
GetPlayerName(playeridanamesizeof(aname));
    return 
aname;

Reply


Messages In This Thread
FakeBan - by bilibil - 10.05.2017, 02:11
Re: FakeBan - by CZ - 10.05.2017, 02:22
Re: FakeBan - by IlanZ - 10.05.2017, 02:26
Re: FakeBan - by bilibil - 10.05.2017, 02:54
Re: FakeBan - by CZ - 10.05.2017, 04:24
Re: FakeBan - by s4kuL - 10.05.2017, 04:49
Re: FakeBan - by bilibil - 10.05.2017, 07:36
Re: FakeBan - by IlanZ - 10.05.2017, 19:26
Re: FakeBan - by bilibil - 10.05.2017, 21:01
Re: FakeBan - by Laarky - 10.05.2017, 21:02

Forum Jump:


Users browsing this thread: 3 Guest(s)