Jump to content
  • 0

Problema intrare HQ


crazyzee

Question

Am o problema la Intrarea in HQ-ul LVV asta dupa ce am mutat spawn , acum cand dau /enter la intrare ma da in strada la vechiul spawn ... aveti idee cum schimb coordonatele ?

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Uite man asta e comanda /enter :

[pawn]if(strcmp(cmdtext, "/enter", true) == 0)

    {

if (PlayerToPoint(5,playerid,258.4353,90.5100,1002.4453))

{

SetPlayerPos(playerid,227.1062,125.7774,1003.1243);

SetPlayerInterior(playerid,10);

format(string, sizeof(string), "~w~Inside the ~w~Jail");

GameTextForPlayer(playerid, string, 1000, 1);

return 1;

}

else if(PlayerToPoint(5,playerid,1653.8624, -1655.3732, 22.5156))

{

if(PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 2)

{

SetPlayerPos(playerid,288.745971, 169.350997, 1007.171875);//FBI Headquarters

SetPlayerInterior(playerid, 3);

    SetPlayerVirtualWorld(playerid, 96);

PlayerInfo[playerid][pVirWorld] = 96;

format(string, sizeof(string), "~w~FBI HQ~w~");

GameTextForPlayer(playerid, string, 1000, 1);

}

else

{

SendClientMessage(playerid, COLOR_GREY, " you are not a cop");

}

}

else if(PlayerToPoint(5,playerid, 1283.4934,-1160.1379,23.9610))

{

SetPlayerPos(playerid, 1095.321227,1545.773559,12);

}

else if(PlayerToPoint(5,playerid, 2134.4209,1420.2867,10.8125)) // 5 - reprezinta raza de actiune, o poti modifica dupa bunul plac

{//Taxi

if(PlayerInfo[playerid][pLeader] == 10 || PlayerInfo[playerid][pMember] == 10)

{

SetPlayerPos(playerid,833.269775,10.588416,1004.179687);

SetPlayerInterior(playerid,3);

PlayerInfo[playerid][pInt] = 3;

SetPlayerVirtualWorld(playerid,1234);

PlayerInfo[playerid][pVirWorld] = 1234;

}

}

else if(PlayerToPoint(5,playerid, 2017.4309,1913.6062,12.3293)) // 5 - reprezinta raza de actiune, o poti modifica dupa bunul plac

{//LVV

if(PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pMember] == 15)

{

SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875);

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInt] = 0;

}

}

return 1;//lipsea un return 1

}

[/pawn]

Acestea sunt coordonatele din interioru hq [pawn]AddPlayerClass(110,-977.3069,1061.0345,1345.6719,257.9358,0,0,0,0,0,0); // interior hq[/pawn]

Am extras coordonatele astea si leam pus si acum ma da tot in aer : [pawn]977.3069,1061.0345,1345.6719[/pawn]

RPG.VIBEPLAY.RO

Recomand acest server Romanesc bY woozie aka. weedluver aka. undertaker !!

Link to comment
Share on other sites

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.