- 0
Problema /exit House
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
WaZP
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