Jump to content
  • 0

Comanda /enter


Otiy

Question

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.