Welcome warning
#3

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;
}
Reply


Messages In This Thread
Welcome warning - by shoaib_sait - 30.01.2013, 14:34
Re: Welcome warning - by SKAzini - 30.01.2013, 14:53
Re: Welcome warning - by Patrick - 30.01.2013, 14:55
Re: Welcome warning - by mineralo - 30.01.2013, 15:02
Re: Welcome warning - by SKAzini - 30.01.2013, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)