SA-MP Forums Archive
Need help on rules - 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)
+--- Thread: Need help on rules (/showthread.php?tid=390058)



Need help on rules - DerickClark - 04.11.2012

how to make a Connect Rules
not like /rules

if a player join your sever u see the rules.


Re: Need help on rules - SwisherSweet - 04.11.2012

OnPlayerConnect
Use
SendClientMessage(playerid, COLOR_RED, "These are the rules blablabalbalba");

Rep+


Re: Need help on rules - YoYo123 - 04.11.2012

You can do it like after he logs in or registers a dialog pops up with rules. Use this to get started with dialogs https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog


Re: Need help on rules - DerickClark - 04.11.2012

C:\Users\derick\Desktop\Trucking\gamemodes\PPC_Tru cking.pwn(123) : error 017: undefined symbol "COLOR_RED"


Re: Need help on rules - jotan. - 04.11.2012

Add #define COLOR_RED 0xFF0000FF at top of your script under the #include <a_samp>


Re: Need help on rules - HyDrAtIc - 04.11.2012

Add this at top of your script:

pawn Код:
#define COLOR_RED 0xAA3333AA



Re: Need help on rules - ikbenremco - 04.11.2012

at at top of your scriopt
PHP код:
 #define COLOR_RED 0xFF0000FF 



Re: Need help on rules - DerickClark - 04.11.2012

ty for the stuff