GameText problem
#1

pawn Код:
forward delay(playerid);
pawn Код:
public delay(playerid) {
    TogglePlayerControllable(playerid, 1);
    GameTextForPlayer(playerid, "Objects loaded", 1000, 5);
}
pawn Код:
else if(gTeam[playerid] == TEAM_MAFIA) {
        SetPlayerInterior(playerid, 0);
        SPP(playerid, 2855.3044,1825.6693,12.2542);
        GPW(playerid, 26, 100);
        GPW(playerid, 29, 500);
        GPW(playerid, 30, 300);
        SetPlayerTeam(playerid, 6);
        SetPlayerColor(playerid, COLOR_BLACK);
        GameTextForPlayer(playerid, "Loading objects", 1000, 3);
        TogglePlayerControllable(playerid, false);
        SetTimer("delay", 3000, 1);
        }
the problem is that this "Objects loaded" gametext keeps being there, like i set the time to 99999999, i cant stop it, it just blinks in front of me, any help?
Reply
#2

that wont help, bump -.-''
Reply
#3

Код:
else if(gTeam[playerid] == TEAM_MAFIA) {
        SetPlayerInterior(playerid, 0);
        SPP(playerid, 2855.3044,1825.6693,12.2542);
        GPW(playerid, 26, 100);
        GPW(playerid, 29, 500);
        GPW(playerid, 30, 300);
        SetPlayerTeam(playerid, 6);
        SetPlayerColor(playerid, COLOR_BLACK);
        GameTextForPlayer(playerid, "Loading objects", 1000, 3);
        TogglePlayerControllable(playerid, false);
        SetTimer("delay", 3000, 0);
        }
This will work
Reply
#4

Quote:
Originally Posted by Mean
Посмотреть сообщение
that wont help, bump -.-''
It should, they could've explained it some more but:
pawn Код:
SetTimerEx("delay",3000,1,"d",playerid);
Instead of
pawn Код:
SetTimer("delay", 3000, 1);
Reply
#5

Lol i've set Repeat to 1, thanks Tour15
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)