30.01.2013, 14:55
You haven't used it, you only did on OnGameModeInit Try To put it OnPlayerConnect
pawn Код:
new Text:welcomeText;//Global Variable
new Text:infoText;//Global Variable
public OnGameModeInit
{
//Rest of codes
return 1;
}
public OnPlayerConnect
{
welcomeText = TextDrawCreate(430,5,"~w~www.***********.com");
infoText = TextDrawCreate(445,100, "~b~/cmds ~w~- /news - ~r~/rules");
//Rest of codes
return 1;
}
public OnPlayerSpawn // to hide your text and for lress bugs
TextDrawHideForPlayer(playerid, welcometext);
TextDrawHideForPlayer(playerid, infotext);
//Rest of codes
return 1;
}