SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 09/01/2020, 03:44 PM   #1
Rodolfoz90
Little Clucker
 
Join Date: Jan 2020
Posts: 2
Reputation: 0
Default help "error 029"

C:\Users\admin\Desktop\GM RODOLFO\gamemodes\gm.pwn(1073) : error 029: invalid expression, assumed zero
C:\Users\admin\Desktop\GM RODOLFO\gamemodes\gm.pwn(1073) : warning 215: expression has no effect
C:\Users\admin\Desktop\GM RODOLFO\gamemodes\gm.pwn(1073) : error 001: expected token: ";", but found "]"
C:\Users\admin\Desktop\GM RODOLFO\gamemodes\gm.pwn(1073) : error 029: invalid expression, assumed zero
C:\Users\admin\Desktop\GM RODOLFO\gamemodes\gm.pwn(1073) : fatal error 107: too many error messages on one line

Code:
dcmd_acmds(playerid,params[])

{   
    #pragma unused params
	if(PlayerInfo[playerid][Nivel] == 1)	
	{
		SendClientMessage(playerid, Verde, "Comandos de administrador:");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 1: /sayon /sayoff ");
	}
	else if(PlayerInfo[playerid][Nivel] == 2)
	{
	    SendClientMessage(playerid, Verde, "Comandos de administrador:");
	    SendClientMessage(playerid, Azul, "[Admin]Nivel 1: /sayon /sayoff");
       	SendClientMessage(playerid, Azul, "[Admin]Nivel 2: /anuncio - /fix /kick");
    }
	else if(PlayerInfo[playerid][Nivel] == 3)
	{
		SendClientMessage(playerid, Verde, "Comandos de administrador:");
	    SendClientMessage(playerid, Azul, "[Admin]Nivel 1: /sayon /sayoff");
       	SendClientMessage(playerid, Azul, "[Admin]Nivel 2: /anuncio - /fix /kick");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 3: /armas /traer /ban /Conteo");
	}
	else if(PlayerInfo[playerid][Nivel] == 4)
	{
		SendClientMessage(playerid, Verde, "Comandos de administrador:");
	    SendClientMessage(playerid, Azul, "[Admin]Nivel 1: /sayon /sayoff");
       	SendClientMessage(playerid, Azul, "[Admin]Nivel 2:/anuncio  /fix /kick");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 3: /armas /traer /ban /Conteo");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 4: /ir /carcel /liberar ");
	}
	else if(PlayerInfo[playerid][Nivel] == 5)
	{
		SendClientMessage(playerid, Verde, "Comandos de administrador:");
	    SendClientMessage(playerid, Azul, "[Admin]Nivel 1: /sayon /sayoff");
       	SendClientMessage(playerid, Azul, "[Admin]Nivel 2: /anuncio - /fix /kick");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 3: /armas /traer /ban /Conteo");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 4: /ir /carcel /liberar");
		SendClientMessage(playerid, Azul, "[Admin]Nivel 5: /nivel /congelar /descongelar");
	}
		else return SendClientMessage(playerid, Rojo, "[[Info]] Lo sentimos no eres Admin");
	return 1;
}
Rodolfoz90 is offline   Reply With Quote
Old 09/01/2020, 07:04 PM   #2
Yasef99
Little Clucker
 
Join Date: Jun 2017
Posts: 20
Reputation: 0
Default Re: help "error 029"

Muestrame unicamente la linea 1072, 1073 y 1074 para ayudarte bro.
Yasef99 is offline   Reply With Quote
Old 10/01/2020, 05:49 AM   #3
oghabanjb
Little Clucker
 
Join Date: May 2018
Posts: 37
Reputation: 1
Default Re: help "error 029"

Show me 1072, 1073 and 1074 lines
__________________
+REP if I helped you.
Sorry for my bad english.
oghabanjb is offline   Reply With Quote
Old 10/01/2020, 09:04 AM   #4
Flex
Banned
 
Join Date: May 2019
Location: Los Angeles
Posts: 13
Reputation: 4
Default Re: help "error 029"

you need to delete files that prevent the server from saving files.

then download from the official site SAMP file that will encode all the files and restore the game functions.
Flex is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripting error - "Expected token "," but found "}" JeffDiamond Scripting Help 4 29/10/2014 06:59 PM
error: undefine symbol "j" and expected token ";" but found "]" JEkvall95 Scripting Help 9 27/07/2013 11:09 AM
Error "ondialogresponse" in "case" with the statement "if" Daledos Scripting Help 6 17/04/2013 10:06 PM
[ERROR]Requesting help with error 001: expected token: "-string end-", but found "-identifier-" Magic_Time Scripting Help 4 31/01/2013 09:33 PM


All times are GMT. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.