Too many errors in one line?
#1

pawno waht ar yu doin. pawno. stahp.
Well ive been trying to start scripting like a newbo but its not really working out...
So ive got this line:

Код:
	SendClientMessage(playerid, #F50707, “*+*+*HELP PAGE OPENED*+*+*”);
And when i try compiling my script this is the error i get:

Код:
C:\Users\x3990.003\Desktop\samp server\gamemodes\funland.pwn(93) : error 035: argument type mismatch (argument 2)
C:\Users\x3990.003\Desktop\samp server\gamemodes\funland.pwn(93) : error 017: undefined symbol "PAGE"
C:\Users\x3990.003\Desktop\samp server\gamemodes\funland.pwn(93) : error 017: undefined symbol "OPENED"
C:\Users\x3990.003\Desktop\samp server\gamemodes\funland.pwn(93) : fatal error 107: too many error messages on one line

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


4 Errors.
Anyone who helps me will be loved forever <3
Reply
#2

SendClientMessage(playerid, #F50707, “*+*+*HELP PAGE OPENED*+*+*”);

change it to

pawn Код:
SendClientMessage(playerid, #F50707, "*+*+*HELP PAGE OPENED*+*+*");
u didnt make " u made ”

" = correct
” = wrong
Reply
#3

SendClientMessage()

You cannot use Hex Code as Color, change it to 0xhexcodeFF, like this 0xF50707FF.
Or use simple SA-MP color picker. http://www.gtavision.com/index.php?s...ledl&DLID=1974

And use this "", if you want write a string.
Reply
#4

Quote:
Originally Posted by GoldZoroGrab
Посмотреть сообщение
SendClientMessage(playerid, #F50707, “*+*+*HELP PAGE OPENED*+*+*”);

change it to

pawn Код:
SendClientMessage(playerid, #F50707, "*+*+*HELP PAGE OPENED*+*+*");
u didnt make " u made ”

" = correct
” = wrong
Thanks man! Helped me alot, in some tutorial they showed the exact same line as mine so i copied it but they done the braces wrong. +Rep for you sir
Reply
#5

Quote:
Originally Posted by MouseBreaker
Посмотреть сообщение
SendClientMessage()

You cannot use Hex Code as Color, change it to 0xhexcodeFF, like this 0xF50707FF.
Or use simple SA-MP color picker. http://www.gtavision.com/index.php?s...ledl&DLID=1974

And use this "", if you want write a string.
The "" one was told by another user but still +Rep for you for telling me about the colors
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)