Making jobs , job spawns colors
#2

Well, make a Variable that checks if the player is in that job and if he spawns it will send him that message.
For example if that player is in that job it will set that variable to 1. If the variable = 1 it will always send him that message when he spawns. And if that variable is 1 it will always spawn him in his Job location.
Hope you understand.

Example:
Quote:
public OnPlayerConnect(playerid)
{
if(IsWorking == 1) return {
SetSpawnInfo();
SendClientMessage();
}
else if(IsWorking == 0) return {
SetSpawnInfo();
SendClientMessage();
}
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: 1 Guest(s)