help! still no work!! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help! still no work!! (
/showthread.php?tid=212998)
help! still no work!! -
[MKD]Max - 18.01.2011
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;
}
Re: help! still no work!! -
[MKD]Max - 18.01.2011
bump please help!
Re: help! still no work!! -
[MKD]Max - 18.01.2011
helllo any help or no more scripters
Re: help! still no work!! -
damiantof7 - 18.01.2011
Whats the problem?
Re: help! still no work!! -
[MKD]Max - 18.01.2011
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
Re: help! still no work!! -
Not available - 18.01.2011
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?