03.09.2012, 14:51
Hi, i have two Faction HQs with the same interior but different virtual world.
The problem is on the chat. For example, the first HQ is School Instructors and the second is Taxi Company
The members of school instructors can see what the members of taxi company are talking in the HQ
How to fix this? Look at my /enter cmds:
and
The problem is on the chat. For example, the first HQ is School Instructors and the second is Taxi Company
The members of school instructors can see what the members of taxi company are talking in the HQ
How to fix this? Look at my /enter cmds:
Код:
if(strcmp(cmdtext, "/enter", true) == 0) { if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { if PlayerToPoint(5,playerid,-2447.0032,523.1661,30.3037) *then { SetPlayerPos(playerid,1494.325195,1304.942871,1093.289062); SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 77); SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to School Instructors HQ !"); return 1; } } }
Код:
if(strcmp(cmdtext, "/enter", true) == 0) { if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { if PlayerToPoint(5,playerid,-1969.5778,92.0575,27.6875) *then { SetPlayerPos(playerid,1494.325195,1304.942871,1093.289062); SetPlayerInterior(playerid,3); SetPlayerVirtualWorld(playerid, 79); SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Taxi Company HQ !"); return 1; } } }