Making jobs , job spawns colors
#4

Quote:
Originally Posted by TheButler
Посмотреть сообщение
this script explains that if a player has a job he recieves a messae , and others recieve another message. well thats part of the script

BUt my point is , there are multiple jobs like 10 whenever a certain job connects he gets the appopriate color for his job and we see the message welcome to (jobname)layername(playerid)

and every player with a job has his own color for example if he i a farmer he gets gray color

Well, You can add more Variables, like this:

Quote:

new Farmer;
new Miner;
new Lumberjack;
new Unemployed;

public OnPlayerConnect(playerid)
{
if(Farmer == 1)
{
SetPlayerColor()
}
if(Miner == 1)
{
SetPlayerColor()
}
if(Lumberjack == 1)
{
SetPlayerColor()
}
if(Unemployed == 1)
{
SetPlayerColor()
}
return 1;
}

Reply


Messages In This Thread
Making jobs , job spawns colors - by TheButler - 16.02.2019, 10:23
Re: Making jobs , job spawns colors - by MSC - 16.02.2019, 11:11
Re: Making jobs , job spawns colors - by TheButler - 16.02.2019, 11:22
Re: Making jobs , job spawns colors - by MSC - 16.02.2019, 12:08
Re: Making jobs , job spawns colors - by TheButler - 16.02.2019, 12:18
Re: Making jobs , job spawns colors - by TheToretto - 16.02.2019, 12:32

Forum Jump:


Users browsing this thread: 3 Guest(s)