Heyho Leute, ich hab mal wieder eine Frage ![]()
for(new h=0; h<MAX_HAEUSER; h++)
{
if(PlayerToPoint(2.0,playerid,HausInfo[h][hX],HausInfo[h][hY],HausInfo[h][hZ]))
{
if(HausInfo[h][hLocked] == 1)
{
SetPlayerVirtualWorld(playerid,HausInfo[h][hVirtualWorld]);
SetPlayerInterior(playerid,HausInfo[h][hInt]);
SetPlayerPos(playerid,HausInfo[h][hintX],HausInfo[h][hintY],HausInfo[h][hintZ]);
}
}
}
Würde das so Funktionieren? Weil die for-Schleife ja eigentlich alles Abfragt, also alle Häuser, würde der Spieler dann nicht irgendwie woanders hingeportet werden?
Ich hoffe ihr wisst wie ich das Meine ![]()
Danke im Vorraus für Hilfe
MfG
Chupa