/playerinfo
#6

Quote:
Originally Posted by ┤ŞąiBЄЯҒПŋ├
pawn Код:
if (strcmp("/pinfo", cmdtext, true, 10) == 0)
    {
        new strs[256],IP[20];
        GetPlayerIP(playerid,IP,sizeof(IP));
        format(strs,sizeof(strs),"Money: %d Health: %f Armour: %f IP: %s",GetPlayerMoney(playerid),GetPlayerHealth(playerid),GetPlayerArmour(playerid),IP);
         return 1;
    }
without strtok
http://forum.sa-mp.com/index.php?topic=78026.0
Reply


Messages In This Thread
/playerinfo - by [ATC]eRaZoR - 17.10.2009, 10:14
Re: /playerinfo - by MenaceX^ - 17.10.2009, 10:17
Re: /playerinfo - by [ATC]eRaZoR - 17.10.2009, 10:29
Re: /playerinfo - by Hiitch - 17.10.2009, 10:59
Re: /playerinfo - by saiberfun - 17.10.2009, 11:16
Re: /playerinfo - by Correlli - 17.10.2009, 12:54
Re: /playerinfo - by dice7 - 17.10.2009, 12:54
Re: /playerinfo - by saiberfun - 17.10.2009, 13:00
Re: /playerinfo - by Jakku - 17.10.2009, 13:01
Re: /playerinfo - by saiberfun - 17.10.2009, 13:10

Forum Jump:


Users browsing this thread: 3 Guest(s)