08.05.2013, 22:37
Timer:
Every time the textdraw attempts to show up the player crashes. Any reply is appriciated.
pawn Код:
forward TutTimer(playerid);
public TutTimer(playerid)
{
new string[800];
Player[playerid][pTut] = 1;
SetPlayerCameraLookAt(playerid, 1553.1650,-1675.6091,16.1953);
SetPlayerCameraPos(playerid, 1530.1918,-1665.5634,21.3828);
SetPlayerPos(playerid, 1553.1650,-1675.6091, 16.1953 - 2);
TextDrawShowForPlayer(playerid, Textdraw0[playerid]);
TextDrawShowForPlayer(playerid, Textdraw1[playerid]);
TextDrawSetString(Textdraw1[playerid], "~w~Welcome to ~y~Everous Roleplay~w~. We hope we can cover what you need in this tutorial.~n~There are various jobs such as Trucker, Weapon Dealer etc. A full list of jobs can be found by typing ~g~/jobhelp~w~.~n~As a newbie it's recommended to work as a Trucker or a Street Sweeper, since it provides a fairly enough amount of cash.~n~The cash you earn goes to your bank.");
SetTimerEx("TutTimer2", 20000, false, "i", playerid);
return 1;
}