help , some things no load
#1

if i add this on my Gamemodeint

pawn Код:
// TextDrawCreate by achhraf Txt
    SetTimer ("CheckValidTextDraws", 1000, 1);

    RadarHud = TextDrawCreate (495.0, 200.0, "~b~Model: ~n~~r~Speed:         kmph");
    TextDrawFont (RadarHud, 2);
    TextDrawLetterSize (RadarHud, 0.3, 1.0);
    for (new i = 1; i <= MAX_VEHICLES; i++)
    {
        VehRadarID [i] = -1;
        SpeedAndModel [i] = TextDrawCreate (545.0, 200.0, "~b~ ~n~~r~");
        TextDrawFont (SpeedAndModel [i], 2);
        TextDrawLetterSize (SpeedAndModel [i], 0.3, 1.0);
        CheckingSpeed [i] = 0;
    }
Load object and cars and ... , stop in Stage 7

and i have Load with this system ( Stage )

pawn Код:
print("Stage 2");
    LoadBoxer();
    LoadLSPDPass();
    print("Stage 3");
    LoadStuff();
    print("Stage 4");
    LoadIRC();
    print("Stage 5");
    LoadFamilies();
    print("Stage 6");
    djson_GameModeInit();
    print("Stage 7");

    SetGameModeText("NL-RP");
    format(motd, sizeof(motd), "{7DAEFF}SERVER: use (/changepass) to change it.{7DAEFF}");
    gettime(ghour, gminute, gsecond);
    FixHour(ghour);
    ghour = shifthour;
    if(!realtime)
    {
        SetWorldTime(wtime);
    } ........ and more
Reply
#2

you cant create that much textdraws !

creat them per-player and just change the string when needed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)