Need help - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help (
/showthread.php?tid=182297)
Need help -
mathiashhg - 09.10.2010
-sovled-
Re: Need help -
Luis- - 09.10.2010
1) Use SendClientMessage(playerid, Color define, Message);
2) I dont know that one
3) Its alright!
Re: Need help -
mathiashhg - 09.10.2010
Quote:
Originally Posted by -Luis
1) Use SendClientMessage(playerid, Color define, Message);
2) I dont know that one
3) Its alright!
|
Im just started scripting so dont be mad or anything but i get some errors
C:\Users\Mathias\Desktop\samp03bsvr_R2_win32\gamem odes\Myown1.pwn(132) : error 017: undefined symbol "Color"
C:\Users\Mathias\Desktop\samp03bsvr_R2_win32\gamem odes\Myown1.pwn(132) : error 017: undefined symbol "define"
C:\Users\Mathias\Desktop\samp03bsvr_R2_win32\gamem odes\Myown1.pwn(132) : error 029: invalid expression, assumed zero
C:\Users\Mathias\Desktop\samp03bsvr_R2_win32\gamem odes\Myown1.pwn(132) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: Need help -
Luis- - 09.10.2010
Ah, Were I put "Color define" Add this to the top of your script
pawn Код:
#define COLOR_YELLOW 0xFFFF00FF
then were it says "message" add your message Example 'Hello there', Here's the full code;
pawn Код:
SendClientMessage(playerid, COLOR_YELLOW, "Hello there");
Re: Need help -
mathiashhg - 09.10.2010
Quote:
Originally Posted by -Luis
Ah, Were I put "Color define" Add this to the top of your script
pawn Код:
#define COLOR_YELLOW 0xFFFF00FF
then were it says "message" add your message Example 'Hello there', Here's the full code;
pawn Код:
SendClientMessage(playerid, COLOR_YELLOW, "Hello there");
|
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
No more errors thanks
Re: Need help -
Luis- - 09.10.2010
Glad to help!
Re: Need help -
Tee - 09.10.2010
For question 2 do this at OnGameModeInt().
It would look like this.
pawn Код:
public OnGameModeInit()
{
ShowPlayerMarkers(0);//It disables the player marker, so you can,t see them on mini map
}
Here is the
source
And i recommend you go to
this website, it has most of the info you need.
Re: Need help -
mathiashhg - 10.10.2010
Thanks again no errors
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
but cant really test it now cause there are no one online but i will test it later
Ip:87.58.98.61:7777