04.04.2014, 21:38
Quote:
Instead of writing:
Код:
[pLocal] = i; Код:
[pLocal] = i+6000; +REP If I helped you |
pawn Код:
case 1:
{
for(new i = 0; i < hazak; i++)
{
if(PlayerToPoint(1, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
if(HouseInfo[i][hDrog] != 1) return Msg(playerid,"A hбzban nincs droglabor!");
SetPlayerVirtualWorld(playerid, i); <<ERROR!
SetPlayerPos(playerid,1253.2783,-1701.6456,6319.3672);
Freeze(playerid,5000);
GameTextForPlayer(playerid, "~w~Ьdv itt!", 2000, 1);
PlayerInfo[playerid][pLocal] = i; <<ERROR!
Hazbanvan[playerid] = 1;
}
}
}
}
}