- 0
Comanda /enter
-
Similar Content
-
- 3 answers
- 761 views
-
- 4 replies
- 198 views
-
- 1 reply
- 144 views
-
Comanda /spec
By VAurel,
- 4 answers
- 330 views
-
- 4 answers
- 671 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Otiy
Salut. Vreau sa fac si eu o comanda /enter sa poate sa intrea doar paterno family in HQ. Acum intra cine vrea in HQ Paterno cum fac?
Codul este:
[pawn] else if (PlayerToPointStripped(1, playerid,2637.3591,2351.8416,10.8203, cx,cy,cz))
{
//Paterno Family HQ
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
SetPlayerPos(playerid, 1205.0803,-9.9519,1000.9219);
GameTextForPlayer(playerid, "~w~The Paterno Family HQ",5000,1);
SetPlayerInterior(playerid,2);
SetPlayerFacingAngle(playerid, 1);
PlayerInfo[playerid][pInt] = 2;
}
else if(hqlock[iolock] == 0)
{
SetPlayerPos(playerid, 1205.0803,-9.9519,1000.9219);
GameTextForPlayer(playerid, "~w~The Paterno Family HQ",5000,1);
SetPlayerInterior(playerid,2);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo[playerid][pInt] = 2;
}
else
{
GameTextForPlayer(playerid, "~r~Locked",5000,1);
}
}[/pawn]
Link to comment
Share on other sites
1 answer to this question
Recommended Posts