Td errors
#4

PHP код:
// This variable is used to store the id of the textdraw
// so that we can use it throught the script
new Text:welcomeText
 
public 
OnGameModeInit()
{
    
// This line is used to create the textdraw. 
    // Note: This creates a textdraw without any formatting.
    
welcomeText TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
    return 
1;
}
 
public 
OnPlayerConnect(playerid)
{
    
//This is used to show the player the textdraw when they connect.
    
TextDrawShowForPlayer(playerid,welcomeText);

No "", and ensure you are creating plInfo, as
Код:
Text:plInfo
Reply


Messages In This Thread
Td errors - by mmostafa - 30.08.2017, 15:50
Re: Td errors - by mmostafa - 01.09.2017, 01:21
Re: Td errors - by mmostafa - 03.09.2017, 22:51
Re: Td errors - by Sew_Sumi - 03.09.2017, 23:15
Re: Td errors - by BadJih - 03.09.2017, 23:53

Forum Jump:


Users browsing this thread: 1 Guest(s)