14.11.2011, 16:24
Quote:
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. |
It's global variables.if u select team in gm you
>>>
Код:
SetPVarInt(playerid, "Team", 2);
>>>
Код:
if(GetPVarInt(playerid, "Team") == 2 )