sscanf2 problem
#7

pawn Код:
COMMAND:sethp(playerid, params[])
{
        if(PlayerInfo[playerid][PlayerAdmin] < HP_LEVEL) return SendClientMessage(playerid,COLOR_RED, "You Cant Use This Command !!!");
        new targetid,intgr;
        if(sscanf(params,"ui", targetid,intgr)) return SendClientMessage(playerid, COLOR_WHITE, ""WHITE"Usage: "GREEN"/sethp "WHITE"[playerid] "WHITE"[ammount]");
        if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_WHITE, "Invalid Player ID"RED"(Player Is Not Connected)!");
        SetPlayerHealth(targetid, intgr);
        return 1;
}
Reply


Messages In This Thread
sscanf2 problem - by park4bmx - 16.11.2011, 18:58
Re: sscanf2 problem - by cruising - 16.11.2011, 19:03
Re: sscanf2 problem - by park4bmx - 16.11.2011, 19:19
Re: sscanf2 problem - by FireCat - 16.11.2011, 19:22
Re: sscanf2 problem - by park4bmx - 16.11.2011, 19:27
Re: sscanf2 problem - by Camacorn - 16.11.2011, 19:28
Re: sscanf2 problem - by park4bmx - 16.11.2011, 20:35
Re: sscanf2 problem - by DreamOnIt - 16.11.2011, 20:41
Re: sscanf2 problem - by park4bmx - 17.11.2011, 16:01
Re: sscanf2 problem - by DreamOnIt - 19.11.2011, 17:13

Forum Jump:


Users browsing this thread: 2 Guest(s)