help with script! pls pls
#1

hey i want a script like

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

pls help

wat is required
Reply
#2

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

where do i enter this code!!
pls tell!

im a noob!!
im new to all this
Reply
#4

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

i tested this
it shows

abc's server

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

like the one /announce
Reply
#6

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

it is not working

when i open the site it shows


500 - Internal Server Error

pls help me
Reply
#8

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
Reply
#9

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)