Jump to content
  • 0

Putin ajutor?


AdyUzzy1

Question

1 answer to this question

Recommended Posts

[pawn]// 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);

}[/pawn]

Adica declari variabilele..la ongamemodeinit pui textdraw in sine..si la onplayerconnect TextdrawShowForPlayer(playerid,plm cum ai tu declarat td-u

[glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.