SA-MP Forums Archive
Teleporting Problem - 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: Teleporting Problem (/showthread.php?tid=296255)



Teleporting Problem - hitman% - 10.11.2011

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


Re: Teleporting Problem - Mr_Scripter - 10.11.2011

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;
}



Re: Teleporting Problem - hitman% - 10.11.2011

I tried That But itz showing


Re: Teleporting Problem - Mr_Scripter - 10.11.2011

you want it show yellow and red or not?


Re: Teleporting Problem - BigGroter - 10.11.2011

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


Re: Teleporting Problem - hitman% - 10.11.2011

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?


Re: Teleporting Problem - hitman% - 10.11.2011

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!


AW: Teleporting Problem - Drebin - 10.11.2011

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


Re: AW: Teleporting Problem - hitman% - 11.11.2011

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..!


Re: Teleporting Problem - Vince - 11.11.2011

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 ******.