help! still no work!!
#1

Help with this command its still like this !!!!

Quote:

Name=Max
Level=5
Score=500
Money=100000


Код:
dcmd_madmin(playerid, params[])
{
    new givePlayer, str[128], PlayerFile[100], pName[24];
    if(Player[playerid][admin] < 5){
	return SendClientMessage(playerid, COLOR_RED, "You Dont Have Right To Use This Command");
	}
    new id;
    if(sscanf(params, "u", id))
	{
	    SendClientMessage(playerid, COLOR_RED, "USAGE: /madmin [playerid]");
	    return 1;
	}
    else if (id == INVALID_PLAYER_ID)
	{
	    SendClientMessage(playerid, COLOR_RED, "Player not found");
	    return 1;
	}
    else
    {
    	Player[givePlayer][admin] = 3;
       	SendClientMessage(givePlayer, COLOR_GREEN, "An administrator has given you administrator rights.");
		format(str, sizeof(str), "You have give %s(%d) administrator rights.", pName, playerid);
		SendClientMessage(playerid, COLOR_GREEN, str);
  		format(PlayerFile, sizeof(PlayerFile), "maxadmin/users/%s.ini", pName);
		dini_IntSet(PlayerFile, "Level", 3);
    }
    return 1;
}
Reply
#2

bump please help!
Reply
#3

helllo any help or no more scripters
Reply
#4

Whats the problem?
Reply
#5

check out when i use this command on one i need in files get same as he get in game but in maxadmin/users/name.txt still same level i try what you say all to me still with problem
Reply
#6

Quote:
Originally Posted by [MKD]Max
Посмотреть сообщение
check out when i use this command on one i need in files get same as he get in game but in maxadmin/users/name.txt still same level i try what you say all to me still with problem
****** translate has better grammar then you. I can't understand what all this foaming is about. You want to save this to the correct file?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)