How do I dertermine the size of an integar.
#7

I tried that, but how would I specifiy what happens if "U", is not there?

pawn Код:
dcmd_sethealth(playerid,params[])
{
    new id, health;
    sscanf(params,"Ui",id,health);
    SetPlayerHealth(id,health);
    return 1;
}
/sethealth 0 50 works, but /sethealth 50 does not.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)