Posts: 307
Threads: 41
Joined: Feb 2011
Reputation:
0
nice job !! But add some Screen shots , videos or more Informations
Posts: 4
Threads: 1
Joined: Jan 2011
Reputation:
0
19.03.2011, 00:38
(
Last edited by dugi; 19/03/2011 at 11:48 AM.
)
whats the admin commands?
ok, i found i do /ahelp but i do /rcon login (password) and then /ahelp and "you are not admin" then i try /makeadmin ID LVL and it say you are no the owner!
Posts: 70
Threads: 5
Joined: Mar 2011
Quote:
Originally Posted by Typhome
You need edit the user file of admin level.
Or just replace /makeadmin with this:
Code:
if(strcmp(cmd, "/makeadmin", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_SAY, "USAGE: /makeadmin [ID] [level]");
return 1;
}
new para1;
new level;
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
level = strval(tmp);
if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdmin] == 2)
{
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
PlayerInfo[para1][pAdmin] = level;
format(string, sizeof(string), " You have been promoted to a level %d admin by %s", level, sendername);
SendClientMessage(para1, COLOR_SAY, string);
format(string, sizeof(string), " You have promoted %s to a level %d admin.", giveplayer,level);
SendClientMessage(playerid, COLOR_SAY, string);
}
}
}
else
{
SendClientMessage(playerid, COLOR_SAY, "You are not owner!");
}
}
return 1;
}
|
Yeah right. But anyways, I suppose you're the developer of this game mode. Consider doing as he mentioned, ability to RCON administrators to make administrators instead of editing user files.
Edit - Never mind, you decided to put a good code for what I mentioned.
Posts: 950
Threads: 168
Joined: Mar 2009
Reputation:
0
Always.. create "accounts" folder in "scriptfiles", then system can create userfile's.
Posts: 950
Threads: 168
Joined: Mar 2009
Reputation:
0
At first post is there video of WoW.
Posts: 9
Threads: 0
Joined: Nov 2009
Reputation:
0
Nice GM, i have just 1warning
samp03csvr_R2-2_win32\pawno\include\FairPlay.inc(52) : warning 235: public function lacks forward declaration (symbol "INC_SetVehiclePos")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
Posts: 98
Threads: 6
Joined: Dec 2010
Reputation:
0
honestly i was looking for a Gm like this bcoz i dont have time to create frm scratch anywayz can i edit it WITHOUT DELETING CREDITS
Posts: 950
Threads: 168
Joined: Mar 2009
Reputation:
0
This GM is avabile at server.
HostName: World of War
Address: 212.47.212.31:8000
Players: x / 50
Ping: x
Mode: World of War
Map: San Andreas
World of War gamemode update is comming.