Need help
#1

-sovled-
Reply
#2

1) Use SendClientMessage(playerid, Color define, Message);
2) I dont know that one
3) Its alright!
Reply
#3

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.
Reply
#4

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");
Reply
#5

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
Reply
#6

Glad to help!
Reply
#7

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.
Reply
#8

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)