ShowPlayerDialog Server closed the connection
#1

PHP код:
CMD:danni(playeridparams[])
{
    new 
    
idFloatpPos[3];
    if(
sscanf(params"u"id)) return SCM(playerid0xFF6347FF"UTILIZZA: {FFFFFF}/danni [playerid/Nome]");
    if(!
IsPlayerConnected(id)) return SCM(playerid0xFF6347FF"L'ID specificato non и stato trovato.");
    
    
GetPlayerPos(playeridpPos[0], pPos[1], pPos[2]);
    if(
IsPlayerInRangeOfPoint(playerid7.0pPos[0], pPos[1], pPos[2]))
    {
        
ShowPlayerDamages(idplayerid);
    }
    else return 
SCM(playerid0xB8BAC6FF"Sei troppo lontano.");
    return 
1;

this is define:
PHP код:
#define        DIALOG_DAMAGE        1 
What it's suppose to do is show a list of damage, and then you can press "Done", press "ESC", and it shows Server closed the connection.. as if they got kicked.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)