Jump to content
  • 0

Problema /exit House


Question

Posted

Salut SA:MP.RO, de curand am incercat un nou sistem de Case Personale. L-am instalat in GM , Nu imi da nici o eroare.. dar , cand incerc sa ies dintr-o casa Creata , ma da il ultima casa creata... , Va rog sa ma ajutati  :-(

Din cate am inteles aceasta problema se poate datora Iteriorului, Cum as putea Rezolva? , Multumesc

CMD: /exit

[pawn]if(strcmp(cmd, "/exit", true) == 0)

{

    if(IsPlayerConnected(playerid))

{

for(new h = 0; h <  sizeof(HouseInformations); h++)

{

if(IsPlayerInRangeOfPoint(playerid, 3, HouseInformations[h][hIesireX], HouseInformations[h][hIesireY], HouseInformations[h][hIesireZ]))

{

SetPlayerInterior(playerid,0);

PlayerInfo[playerid][pInterior] = 0;

SetPlayerPos(playerid,HouseInformations[h][hIntrareX], HouseInformations[h][hIntrareY], HouseInformations[h][hIntrareZ]);

SetPlayerVirtualWorld(playerid, 0);

}

}[/pawn]

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.