Otiy Posted November 20, 2011 Report Share Posted November 20, 2011 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 More sharing options...
IcE. Posted November 20, 2011 Report Share Posted November 20, 2011 Probleme GF. Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis! Link to comment Share on other sites More sharing options...
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