SA-MP Forums Archive
lil' help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: lil' help (/showthread.php?tid=189133)



lil' help - dark_clown - 10.11.2010

hum this textdraw dosnt appear
why?
pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,spawntext);
    TextDrawShowForPlayer(playerid, website);
    AllowPlayerTeleport(playerid,1);
    SetPlayerMapIcon(playerid, 12, 1689.2783,1825.2571,21.0895, 56, 0);
    return 1;
}
/*==========Spawn text=========*/
    spawntext = TextDrawCreate(240.0,580.0,"Welcome read the /rules and follow them otherwise \n you will get banned, if you want \n to know some teles try /teles\n if you want to hang around the server\n but dont know how to try /cmds\n if you have a question /ask or see a \nrule breaker try /report \nGratz PSC clan");
    /*==========End of spawn text=========*/
thats ongamemodeinit
then ontop of gamemodeinit
pawn Код:
new Text:spawntext;



Re: lil' help - Alex_Valde - 10.11.2010

nvm sorry


Re: lil' help - Alex_Valde - 10.11.2010

EDIT: I think you should create "spawntext = TextDrawCreate" somewhere in front TextDrawShowForPlayer.
'Cause pawno reads your script from top to bottom.


Re: lil' help - dark_clown - 10.11.2010

all i would like to know to do was this
but i think its with a textdraw