SA-MP Forums Archive
beggining messages - 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: beggining messages (/showthread.php?tid=174979)



beggining messages - silver_medall - 07.09.2010

how do I make that when the player enter the server this message appears:
"Hi pleaze before you enter put /rules"?


Re: beggining messages - LarzI - 07.09.2010

pawn Код:
public OnPlayerConnect(playerid)
{
    GameTextForPlayer( playerid, "~g~Hi! ~w~Please read the ~b~/rules ~w~before you continue", 6000, 4 );
    return true;
}



Re: beggining messages - silver_medall - 07.09.2010

yey thx thx thx
-------
forget the thx it gives me an error:
Код:
C:\Users\tmn\Desktop\Server\gamemodes\HyperStunts.pwn(38) : error 017: undefined symbol "playerid"
C:\Users\tmn\Desktop\Server\gamemodes\HyperStunts.pwn(39) : error 017: undefined symbol "playerid"



Re: beggining messages - Mimic - 07.09.2010

I thought you weren't a beginner? :S

This forum requires that you wait 120 seconds between posts. Please try again in 23 seconds. - Pisses me off.


Re: beggining messages - silver_medall - 07.09.2010

lol I never saw this on wiki anyway


Re: beggining messages - Toni - 07.09.2010

From the wiki.


Re: beggining messages - silver_medall - 07.09.2010

--|~-><-~|--


Re: beggining messages - Toni - 07.09.2010

Sigh, this isn't that hard.
If you didn't already, click on the sentence "From the wiki." in my last post.


Re: beggining messages - silver_medall - 07.09.2010

I did but I didnt find nothing
-------------
I did it
I finded the problem:
I was putting it on GameModeInit and I should put OnPlayerConnect