Server Scripting Help Needed!! PLEASE HELP!
#5

Quote:
Originally Posted by wilcock33
Ok hello, there are a couple of things i need help with

1: setting random spawn locations (V.URGENT)
2: setting a color to a certain player(for example, evertime i logged in, my name would appeal blue in the <---- tab box
---->
3: making messages appear in the chat box every so often like this

Connected to the fun zone!
NAME01:hello
Name02:hey
SERVER TIPS: remember to join our forum www.(withheld).com <--------- like that!

PLEASE HELP!!!!

thanks guys
FOR COLORS:

soo add on callback: public OnPlayerConnect(playerid)

SetPlayerColor(playerid,0x0000BBAA); // this is color blue

or i am not sure if u can but i think you can do this :d

on callback: public OnPlayerSpawn(playerid)

SetPlayerColor(playerid,0x0000BBAA); // this is color blue

so it should look like this

Код:
public OnPlayerConnect(playerid)
{
	SetPlayerColor(playerid,0x0000BBAA);
	return 1;
}
or

Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerColor(playerid,0x0000BBAA);
	return 1;
}
so this mean when you connect your color will be blue + when you spawn your color still will be blue ... thats all

EDIT: For ''Random Messages'' check link that ekeleke post ... https://sampwiki.blast.hk/wiki/Random_Messages


i hope i helped
Reply


Messages In This Thread
Server Scripting Help Needed!! PLEASE HELP! - by wilcock33 - 20.07.2009, 21:46
Re: Server Scripting Help Needed!! PLEASE HELP! - by Geekzor - 20.07.2009, 21:52
Re: Server Scripting Help Needed!! PLEASE HELP! - by wilcock33 - 20.07.2009, 21:55
Re: Server Scripting Help Needed!! PLEASE HELP! - by Pawno_Master - 20.07.2009, 22:05
Re: Server Scripting Help Needed!! PLEASE HELP! - by Geekzor - 20.07.2009, 22:20
Re: Server Scripting Help Needed!! PLEASE HELP! - by Pawno_Master - 20.07.2009, 22:33

Forum Jump:


Users browsing this thread: 1 Guest(s)