[Help!] How to resolve Falling and VW player when they cant see anything during connect in game
#3

I don't know what the hell are you talkin' about junior, but i think you want it like this :-
pawn Код:
forward LoadingF(playerid);
public LoadingF(playerid)
{
    TogglePlayerControllable(playerid, 1);
    return 1;
}
and OnPlayerSpawn :-
pawn Код:
public OnPlayerSpawn(playerid)
{
    TogglePlayerControllable(playerid, 0);
    SetTimerEx("LoadingF", 2000, 0, "d", playerid);
    GameTextForPlayer(playerid,"~w~Waiting for the Environments to Load.", 2000, 3);
}
Just change "2000" to your desired Timer, change "3" to your desired Style, and change "~w~" to your desired Text Color.

2000 = 2 Seconds.
3 = Middle.
~w~ = White.

Codes (New Lines + Colour Lighter + Colors) :-
Код:
~n~ New Lines (Break)
~r~ - Red
~g~ - Green
~b~ - Blue
~w~ - White
~y~ - Yellow
~p~ - Purple
~l~ - Black
~h~ - Turns your Text Colour more Lighter (used too much will make your Text White, doesn't work on Black Color)
Some other Special Text Letters :-
Код:
~u~ - Up Arrow (Grey)
~d~ - Down Arrow (Grey)
~<~ - Left Arrow (Grey)
~>~ - Right Arrow (Grey)
] - Will display a "*" Symbol (Only in Text Styles 3, 4 and 5)
Styles (0-6) :-
Style 0 - Middle Corner (Large Size + Orange Color)
Style 1 - Right Corner (Medium Size + Orange Color)
Style 2 - Middle Corner (Large Size + Old English Font + White Color)
Style 3 - Middle Corner + Above 5% (Small Size + Orange Color)
Style 4 - Middle Corner + Above 10% (Small Size + Orange Color)
Style 5 - Middle Corner (Small Size + White Color)
Style 6 - Above (Medium Size + White Color)

EDIT :-
Post your OnPlayerSpawn Callback here
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)