Need help Gametextforplayer +1 rep
#1

Hey i need help to how i can repast from a
PHP код:
format(string,sizeof(string),"You are now in {5CB3FF}%s's{FFFFFF} zone!"name); 
there will come in the chat to it come in a Gametextforplayer format?

PHP код:
if (count != 0)
            {
                if (
GetPVarInt(i"IsInOrgZone") == 0)
                {
                new 
string[120];
                if (
PlayerOrg[i] == GetOrgID(name))
                {
                
format(string,sizeof(string),"Welcome to your organization's zone!");
                }
                else
                {
                
format(string,sizeof(string),"You are now in {5CB3FF}%s's{FFFFFF} zone!"name);
                }
                
SendClientMessage(iCOLOR_WHITEstring);
                
SetPVarInt(i"IsInOrgZone"1);
                return 
1
Reply
#2

GameTextForPlayer(i, string, 2500, 4);
under the string
Reply
#3

you can use gametextforplayer/all only with this colors
Код:
~w~ white
~y~yellow
~r~red
~b~blue 
~p~purple
~n~new line
~h~light
Reply
#4

Can you try to script it. So i Can see what you mean?
Reply
#5

https://sampwiki.blast.hk/wiki/GameTextForPlayer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)