Teleporting Problem
#1

Hey Guyz

I have seen in many server while teleporting it shows like this


Код:
"Hitman Has just Teleported To ""/sfa""
Here, I just need To do the Colour In "/sfa"... I tried this is my script... But itz showing this only..

Код:
Hitman Has Just Teleported To ~g~/sfa
So any one can give me some code or something for making like that?

With Hope,
Hitman
Reply
#2

use
pawn Код:
//On top of Script
0xFFFF00AA // YEllow
0xFF0000AA // Red
public OnPlayerCommandText(playerid, cmdtext[])
{
    //Your other /sfa cmd process
    SendClientMessageToAll(playerid,0xFFFF00AA,"Hitman has just Teleported to {0xFF0000AA}sfa");
    return 1;
}
Reply
#3

I tried That But itz showing
Reply
#4

you want it show yellow and red or not?
Reply
#5

I think it is because you used a [ instead of a { at the Teleported to [0xFF0000AA}sfa"); I'm not sure if you did it, it just looks like that on my screen :P
Reply
#6

Quote:
Originally Posted by Mr_Scripter
Посмотреть сообщение
you want it show yellow and red or not?
I wanna show it how the thread picture which i post... can u please help me with that?
Reply
#7

Quote:
Originally Posted by BigGroter
Посмотреть сообщение
I think it is because you used a [ instead of a { at the Teleported to [0xFF0000AA}sfa"); I'm not sure if you did it, it just looks like that on my screen :P
I showed it "{" This only.. mayb the pics quality prob!
Reply
#8

pawn Код:
//On top of Script
0xFFFF00AA // YEllow
0xFF0000AA // Red
public OnPlayerCommandText(playerid, cmdtext[])
{
    //Your other /sfa cmd process
    SendClientMessageToAll(playerid,0xFFFF00AA,"Hitman has just Teleported to {EE6700}/sfa.");
    return 1;
}
This will work
Reply
#9

Quote:
Originally Posted by Drebin
Посмотреть сообщение
pawn Код:
//On top of Script
0xFFFF00AA // YEllow
0xFF0000AA // Red
public OnPlayerCommandText(playerid, cmdtext[])
{
    //Your other /sfa cmd process
    SendClientMessageToAll(playerid,0xFFFF00AA,"Hitman has just Teleported to {EE6700}/sfa.");
    return 1;
}
This will work
WoW!!!! Thnx Derbin!! I need one more help from you.. can u say from where u got that Code?? "{EE6700}"??
Please say... If itz Complicated PM me..!
Reply
#10

Use Photoshop or about any other image editing program to find out. You can also use various website. Just search for 'Hex Color Codes' in ******.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)