Too many errors in one line? - 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: Too many errors in one line? (
/showthread.php?tid=395162)
Too many errors in one line? -
NicholasA - 25.11.2012
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
Re: Too many errors in one line? -
GoldZoroGrab - 25.11.2012
SendClientMessage(playerid, #F50707, “*+*+*HELP PAGE OPENED*+*+*”);
change it to
pawn Код:
SendClientMessage(playerid, #F50707, "*+*+*HELP PAGE OPENED*+*+*");
u didnt make " u made ”
" = correct
” = wrong
AW: Too many errors in one line? -
Skimmer - 25.11.2012
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.
Re: Too many errors in one line? -
NicholasA - 25.11.2012
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
Re: AW: Too many errors in one line? -
NicholasA - 25.11.2012
Quote:
Originally Posted by MouseBreaker
|
The "" one was told by another user but still +Rep for you for telling me about the colors