GameText 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GameText problem (
/showthread.php?tid=185131)
GameText problem -
Mean - 23.10.2010
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?
Re: GameText problem -
Mean - 23.10.2010
that wont help, bump -.-''
Re: GameText problem -
TouR - 23.10.2010
Код:
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
Re: GameText problem -
Badger(new) - 23.10.2010
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);
Re: GameText problem -
Mean - 29.10.2010
Lol i've set Repeat to 1, thanks Tour15