SA-MP Forums Archive
Errors - 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)
+--- Thread: Errors (/showthread.php?tid=351757)



Errors - Jermi - 17.06.2012

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


Re: Errors - tiernantheman - 17.06.2012

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?


Re: Errors - Jermi - 17.06.2012

tired it but not working...still says: the params


Re: Errors - tiernantheman - 17.06.2012

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


Re: Errors - Jermi - 17.06.2012

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


Re: Errors - Jermi - 17.06.2012

if you helped me, i will rep you , anyone ?


Re: Errors - tiernantheman - 17.06.2012

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?


Re: Errors - Jermi - 17.06.2012

no lol...


Re: Errors - Jermi - 17.06.2012

Or i think it is fixed
the line


Re: Errors - tiernantheman - 17.06.2012

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.