Help please.
#2

pawn Код:
if(strcmp(cmd,"/makefull", true) == 0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRIJS, "TIP: Type /makefull [playerid] [stat]");
    giveplayerid = strval(tmp);
    if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid,COLOR_VELROOD,"*This ID is not connected*");
    new tmp2[256];
    tmp2 = strtok(cmdtext, idx);
    if(!strlen(tmp2)) return SendClientMessage(playerid, COLOR_GRIJS, "TIP: Type /makefull [playerid] [stat]");
    new statt = strval(tmp2);
    if(adminlevel[playerid] >= 8)
    {
        adminlevel[giveplayerid] = statt;
        SetPlayerScore(giveplayerid,100);
        SetPlayerHealth(giveplayerid,100);
        SetPlayerMoney(playerid,999999);

    }
    else
    {
        SendClientMessage(playerid,COLOR_GRIJS,"You're not allowed to use this command");
    }
    return 1;
}
Reply


Messages In This Thread
Help please. - by bartje01 - 09.07.2010, 10:17
Re: Help please. - by CAR - 09.07.2010, 10:22
Re: Help please. - by bartje01 - 09.07.2010, 10:32
Re: Help please. - by Hiddos - 09.07.2010, 10:35
Re: Help please. - by bartje01 - 09.07.2010, 10:40
Re: Help please. - by bartje01 - 09.07.2010, 15:20
Re: Help please. - by bartje01 - 09.07.2010, 15:46
Re: Help please. - by Hiddos - 09.07.2010, 15:48
Re: Help please. - by bartje01 - 09.07.2010, 16:00
Re: Help please. - by bartje01 - 09.07.2010, 16:06

Forum Jump:


Users browsing this thread: 4 Guest(s)