[Ajuda] error 035: argument type mismatch (argument 1)
#8

PHP код:
CMD:setpm(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid))
        return 
SendClientMessage(playerid, -1"Vocк nгo estб logado na RCON");
    
    new 
id;
    if(
sscanf(params"d"id))
        return 
SendClientMessage(playerid, -1,"Use: /setpm [playerid/username]");
    
    if(!
IsPlayerConnected(id))
        return 
SendClientMessage(playerid, -1"Este jogador nгo estб online!");
    
    
format(stringsizeof(string),"O %s setou o %s de Policial Militar."nome(playerid), nome(id));
    
SendClientMessageToAll(-1string);
    
Jogador[id][pPM] = 1;
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)