Errors
#1

Look

Quote:

L:\Gta San Andreas\BLRP\pawno\include\wcrp\vehicles.pwn(284 : warning 208: function with tag result used before definition, forcing reparse
L:\Gta San Andreas\BLRP\pawno\include\wcrp\factions.pwn(305) : warning 208: function with tag result used before definition, forcing reparse
L:\Gta San Andreas\BLRP\pawno\include\wcrp\factions.pwn(351) : warning 208: function with tag result used before definition, forcing reparse
L:\Gta San Andreas\BLRP\pawno\include\wcrp\lockers.pwn(299) : warning 208: function with tag result used before definition, forcing reparse
L:\Gta San Andreas\BLRP\pawno\include\wcrp\plants.pwn(24 : warning 208: function with tag result used before definition, forcing reparse
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(523) : warning 203: symbol is never used: "params"
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(631) : error 001: expected token: ")", but found "-string-"
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(631) : warning 215: expression has no effect
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(631) : warning 215: expression has no effect
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(631) : error 001: expected token: ";", but found ")"
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(631) : error 029: invalid expression, assumed zero
L:\Gta San Andreas\BLRP\pawno\include\wcrp\admin.pwn(631) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Lines:
Line 631:
Quote:

if(!sscanf(params, "s[" #MAX_PLAYER_NAME "]", name)) {

Line 248:

Quote:

{"givegun",0, EAdminFlags_CanGiveGuns, 0, 0, 0},

Line 299:
Quote:

{"amotd", 0, EAdminFlags_BasicAdmin, 0, 0, 0},

Line:523:
Quote:

YCMDervermaitenance(playerid, params[], help) {

Line 351:
Quote:

EAdminDialog_RequestChat,

Help fast
Reply
#2

Quote:
Originally Posted by Jermi
Посмотреть сообщение
Look




Lines:
Line 631:


Line 248:



Line 299:


Line:523:


Line 351:



Help fast
pawn Код:
YCMD:servermaintenance(playerid, params[]) {
as for the others. Dafuckq are they?
Reply
#3

tired it but not working...still says: the params
Reply
#4

Quote:
Originally Posted by Jermi
Посмотреть сообщение
tired it but not working...still says: the params
Mind showing the full commands?
Reply
#5

Sure,


Quote:

YCMDhutdownserver(playerid, params[], help) {
if(help) {
SendClientMessage(playerid, X11_WHITE, "Shuts down the server");
return 1;
}
SendRconCommand("exit");
return 1;
}

This is not working too, Like it
Reply
#6

if you helped me, i will rep you , anyone ?
Reply
#7

Quote:
Originally Posted by Jermi
Посмотреть сообщение
Sure,




This is not working too, Like it
pawn Код:
YCMD:shutdownserver(playerid, params[])
{
    SendClientMessageToAll(playerid, X11_WHITE, "The server is restarting!");
    SendRconCommand("exit");
    return 1;
}
Try this?
Reply
#8

no lol...
Reply
#9

Or i think it is fixed
the line
Reply
#10

Quote:
Originally Posted by Jermi
Посмотреть сообщение
no lol...
Alright, easiest way to restart your server. Go into your server main directory. Goto your server.cfg. On the 3rd line you should see rcon_password [password]. Copy the Password. Go into your server and type /rcon login [password] - The one in the server.cfg on the line rcon_password. After that you should get a message saying you have logged into rcon. If you want to restart your server type /rcon gmx. Simple as that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)