SA-MP Forums Archive
help with script! pls pls - 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: help with script! pls pls (/showthread.php?tid=101823)



help with script! pls pls - unique1801 - 12.10.2009

hey i want a script like

when i enter the server
it should show " welcome to ABC's server "

pls help

wat is required


Re: help with script! pls pls - Correlli - 12.10.2009

pawn Код:
public OnPlayerConnect(playerid)
{
  SendClientMessage(playerid, 0xFFFFFFAA, "Welcome to ABC's server!");
  return 1;
}



Re: help with script! pls pls - unique1801 - 12.10.2009

where do i enter this code!!
pls tell!

im a noob!!
im new to all this


Re: help with script! pls pls - Correlli - 12.10.2009

http://forum.sa-mp.com/index.php?topic=2750.0


Re: help with script! pls pls - unique1801 - 12.10.2009

i tested this
it shows

abc's server

i want in bold letters in the middle of the screen!!!

like the one /announce


Re: help with script! pls pls - Correlli - 12.10.2009

Then you mean:
https://sampwiki.blast.hk/wiki/GameTextForPlayer - GameText
or:
https://sampwiki.blast.hk/wiki/TextDrawCreate - TextDraw


Re: help with script! pls pls - unique1801 - 12.10.2009

it is not working

when i open the site it shows


500 - Internal Server Error

pls help me


Re: help with script! pls pls - Djiango - 12.10.2009

Wiki is down ATM.
GameTextForPlayer(playerid, const string[], time, style);

Used like this.
pawn Код:
GameTextForPlayer(playerid, "Welcome to ABC's server!", 4000, 5);//Time is in milliseconds.
Here are the styles:
http://weedarr.wikidot.com/game-text


Re: help with script! pls pls - unique1801 - 12.10.2009

where do i enter this??
GameTextForPlayer(playerid, "Welcome to ABC's server!", 4000, 5);//Time is in milliseconds.


Re: help with script! pls pls - Lajko1 - 12.10.2009

UNDER '' public OnPlayerConnect '' callback press LCtrl + F than Type In ''public OnPlayerConnect" and it MUST found it in any NEW script started! i hope i helped