sscanf2 problem
#1

well is not only me there is other people having this problem two

Problem
whe in ther server there are 3 players all CMDS work fine
but when more then 3 playeer enter then the CMDS dont work anymore
EXAMPLE (more then 3 players joined)
if i use like SetPlayerMoney 5 32425 it will give ID 0 32425
any solutions or anything ?

Server version 0.3C R5

One of non working Command's
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: 1 Guest(s)