NEED HELP! GameText Tutorial In-Game Help
#9

Top of your script:
Код:
forward timeleft();
Onplayerspawn
Код:
public OnPlayerSpawn(playerid)
{
	if(gPlayerLogged[playerid])
	{
		SetPlayerSpawn(playerid);
	}
    TogglePlayerControllable(playerid,0);
    SetTimer("timeleft",1000,false); // On the place where is standing: 1000 = 1 second
    GameTextForPlayer(playerid, "~r~Do not deathmatch, revenge kill, bug abuse or hack.~n~", 3000, 4);
    GameTextForPlayer(playerid, "~r~You are also not allowed to metagame or powergame.~n~", 3000, 4);
    GameTextForPlayer(playerid, "~r~Have fun!", 3000, 4);
	return 1;
}
Somewhere else in your script:
Код:
public timeleft()
{
	TogglePlayerControllable(playerid,1);
}
Reply


Messages In This Thread
NEED HELP! GameText Tutorial In-Game Help - by Dol - 25.03.2009, 16:53
Re: NEED HELP! GameText Tutorial In-Game Help - by LarzI - 25.03.2009, 17:05
Re: NEED HELP! GameText Tutorial In-Game Help - by Dol - 25.03.2009, 17:17
Re: NEED HELP! GameText Tutorial In-Game Help - by Rks25 - 25.03.2009, 17:19
Re: NEED HELP! GameText Tutorial In-Game Help - by XeoN_13 - 25.03.2009, 17:23
Re: NEED HELP! GameText Tutorial In-Game Help - by LarzI - 25.03.2009, 18:42
Re: NEED HELP! GameText Tutorial In-Game Help - by XeoN_13 - 25.03.2009, 20:59
Re: NEED HELP! GameText Tutorial In-Game Help - by Dol - 26.03.2009, 11:11
Re: NEED HELP! GameText Tutorial In-Game Help - by Oxside - 26.03.2009, 11:52
Re: NEED HELP! GameText Tutorial In-Game Help - by Dol - 26.03.2009, 14:05

Forum Jump:


Users browsing this thread: 1 Guest(s)