- 0
servername error
-
Similar Content
-
- 1 reply
- 2.000 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Iulian2
C:\Users\Ionut\Desktop\GM TOT\ghtg\gamemodes\gmm.pwn(12116) : warning 202: number of arguments does not match definition
C:\Users\Ionut\Desktop\GM TOT\ghtg\gamemodes\gmm.pwn(12118) : error 017: undefined symbol "gPlayerLogged"
C:\Users\Ionut\Desktop\GM TOT\ghtg\gamemodes\gmm.pwn(12118) : warning 215: expression has no effect
C:\Users\Ionut\Desktop\GM TOT\ghtg\gamemodes\gmm.pwn(12118) : error 001: expected token: ";", but found "]"
C:\Users\Ionut\Desktop\GM TOT\ghtg\gamemodes\gmm.pwn(12118) : error 029: invalid expression, assumed zero
C:\Users\Ionut\Desktop\GM TOT\ghtg\gamemodes\gmm.pwn(12118) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
YCMD:servername(playerid, params[])
{
if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
if(PlayerInfo[playerid][pAdmin] >= 7)
{
new name[64],string[128];
if(sscanf(params, "s[64]", name)) return SCM(playerid, COLOR_GREY, "[SERVER]:{FFFFFF} /servername [name]");
{
format(string,sizeof(string),"hostname %s",name);
SendRconCommand(string);
format(string,sizeof(string), "You changed the server name in: %s.",name);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
}
else return SendClientMessage(playerid, COLOR_LIGHTGREEN3, AdminOnly);
return 1;
}
Este gm burned
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now