a small problem
#4

pawn Код:
dcmd_rank( playerid, params[] )
{
    new id;
    if (strlen(params))
    {
        id = strval(params);
        if(IsPlayerConnected(id))
        {
            new str[256];

            SendClientMessage(id,COLOR_YELLOW,"[FunZoneLT]>> Dabartinis lygis:");
            GetPlayerRank(id);
            format(str,sizeof(str),"[FunZoneLT]>> Nuzudymai: %d  Mirtys: %d ",GetPlayerKills(id),GetPlayerDeaths(id));
            SendClientMessage(id,0x00FF00AA,str);


        }
        else
        {
            SendClientMessage(playerid,0x00FF00AA, "[FunZoneLT]>> Tokio zaidejo nera.");
        }
    }
    else
    {
    SendClientMessage(playerid,0x00FF00AA, "[FunZoneLT]>> /rank [zaidejoid]");

    }
    return 1;
}
This one should work!
Reply


Messages In This Thread
a small problem - by V4at - 24.10.2011, 16:02
Re: a small problem - by LetsOWN[PL] - 24.10.2011, 16:37
Re : a small problem - by V4at - 24.10.2011, 18:49
Re: a small problem - by [MWR]Blood - 24.10.2011, 18:55
Re : a small problem - by V4at - 25.10.2011, 13:35
Re: a small problem - by SuperViper - 25.10.2011, 13:43
Re : a small problem - by V4at - 25.10.2011, 13:58
Re : a small problem - by V4at - 25.10.2011, 14:35

Forum Jump:


Users browsing this thread: 4 Guest(s)