gTeam define to other script
#5

Quote:
Originally Posted by admigo
Посмотреть сообщение
I will give a better explain.
I have made a pyromaniac job who can put houses in fire.
The house system is in a fs because i cant add it to the gm because i get lots of errors.
You can choose the team in the gm so i need to define it in the house system and the gm.
In gm you choose the team and in the fs you can fire a house if you are that team.
I hope you understand me and get a solve.
i understand. u can use PVarInt's.

It's global variables.if u select team in gm you

>>>

Код:
SetPVarInt(playerid, "Team", 2);
and u can use in fs

>>>

Код:
if(GetPVarInt(playerid, "Team") == 2 )
Reply


Messages In This Thread
gTeam define to other script - by Admigo - 14.11.2011, 15:46
Re: gTeam define to other script - by DayaKisteme - 14.11.2011, 15:50
Re: gTeam define to other script - by Admigo - 14.11.2011, 16:14
Re: gTeam define to other script - by Vince - 14.11.2011, 16:21
Re: gTeam define to other script - by DayaKisteme - 14.11.2011, 16:24
Re: gTeam define to other script - by Admigo - 14.11.2011, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)