Need some help
#1

Hello,

I need some help with my script, I get some errors which are confusing.

Here it is:


Код HTML:
C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(291) : error 035: argument type mismatch (argument 1)

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(345) : warning 219: local variable "text" shadows a variable at a preceding level

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(505) : error 035: argument type mismatch (argument 1)

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(622) : error 017: undefined symbol "TextdrawSelectionRoomDM"

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(622) : warning 215: expression has no effect

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(622) : error 001: expected token: ";", but found "]"

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(622) : error 029: invalid expression, assumed zero

C:\Users\Adam\Desktop\Freeroam\gamemodes\es-fr.pwn(622) : fatal error 107: too many error messages on one line

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


6 Errors.
What are on those lines?

Код HTML:
291: mysql_query(mysql_string);

345: public OnPlayerText(playerid, text[])

505: mysql_query(mysql_string);

622: if(clickedid == TextdrawSelectionRoomDM[8])
Help would be appreciated!

Thanks!
Reply
#2

Line 291: The version of MySQL that you're using has changed the function name.

Line 245: You've defined 'text' more than one, rename it or remove the duplicate.

Line 505: Same as 291.

Line 622: You need to define TextdrawSelectionRoomDM


Is this code stolen?
Reply
#3

Quote:
Originally Posted by Ari
Посмотреть сообщение
Line 291: The version of MySQL that you're using has changed the function name.

Line 245: You've defined 'text' more than one, rename it or remove the duplicate.

Line 505: Same as 291.

Line 622: You need to define TextdrawSelectionRoomDM


Is this code stolen?
Thanks for the help. I'll try it out, and let you know if these work.

NO, this code is not stolen. I have my own scripter for my server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)