[Ajuda] should return a value
#2

Tenta ae

PHP код:
dcmd_achat(playerid,params[]){ 
if(
PlayerInfo[playerid][Level] >= 1) { 
if(!
strlen(params)) return SendClientMessage(playeridred,"| ERRO | Digite: /Achat [Mensagem]"); 
if(
strlen(params) < 5) return SendClientMessage(playerid,red,"| ERRO | Mensagem muito curta!"); 
if(
strlen(params) > 80) return SendClientMessage(playerid,red,"| ERRO | Mensagem muito longa!"); 
new 
string[140], pname[MAX_PLAYER_NAME]; 
GetPlayerName(playeridpnamesizeof(pname)); 
ADMTick[playerid] = TickCounter
format(stringsizeof(string), "| Chat Admin | %s[%i] %s"pnameplayeridparams); 
CallRemoteFunction("MessageToAdmins","is",0x00CED1FF,string); 
    } else return 
SendClientMessage(playerid,red,"| ERRO | Comando Invalido!  /Comandos"); 
return 
1;

Reply


Messages In This Thread
should return a value - by CSSDean - 23.04.2018, 16:20
Re: should return a value - by Cauezin - 23.04.2018, 16:34
Re: should return a value - by AllanSG - 23.04.2018, 16:36
Re: should return a value - by CSSDean - 23.04.2018, 16:40

Forum Jump:


Users browsing this thread: 1 Guest(s)