SetPlayerVirtual Problem !

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Leute also ich habe die gangs VAGOS BALLAS Terror RIFA und die spawn alle in einem interior da steht SetPlayerVirtualWorld 8 aber wenn ich es zum zum beispiel rifa 9 vagos 10 terror 11 ballas 12 mache geht es nicht?


    if(strcmp(cmd, "/vaenter", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2151.1638,-1013.9731,62.7305))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,;
    SetPlayerVirtualWorld(playerid,;
    }
    }
    }
    if(strcmp(cmd, "/vaexit", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2153.0352,-1012.7573,62.9115);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    }
    if(strcmp(cmd, "/Rienter", true) == 0 || strcmp(cmd, "/ram", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,1042.5359,1010.4261,11.0000))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,;
    SetPlayerVirtualWorld(playerid,10);
    }
    }
    }
    if(strcmp(cmd, "/Riexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,1043.9205,1013.2769,11.0000);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    }
    if(strcmp(cmd, "/Terenter", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,-314.1271,1774.8267,43.6406))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,;
    SetPlayerVirtualWorld(playerid,12);
    }
    }
    }
    if(strcmp(cmd, "/Terexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)
    {
    if(PlayerInfo[playerid][pMember] == 20 || PlayerInfo[playerid][pLeader] == 20 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,-314.1271,1774.8267,43.6406);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    }if(strcmp(cmd, "/benter", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)//ballas
    {
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2572.3323,-1091.8234,67.2257))
    {
    SetPlayerPos(playerid,2807.619873,-1171.899902,1025.570312);
    SetPlayerInterior(playerid,8);
    SetPlayerVirtualWorld(playerid,6);
    }
    }
    }
    if(strcmp(cmd, "/bexit", true) == 0 || strcmp(cmd, "/aufbrechen", true) == 0)// Ballas
    {
    if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22 || PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
    {
    if(IsPlayerInRangeOfPoint(playerid,3.0,2807.619873,-1171.899902,1025.570312))
    {
    SetPlayerPos(playerid,2570.4004,-1089.5715,66.8322);
    SetPlayerInterior(playerid,0);
    SetPlayerVirtualWorld(playerid,0);
    }
    }
    }

    2 Mal editiert, zuletzt von Mezzomix ()

  • Es wäre übersichtlicher wenn du die PWN Funktion benutzt.
    Geh mal auf dein Post -> Editieren und markiere einzelne Funktionen und drücke dann darüber in der leiste auf PWN.
    Danke


    //Edit
    Was willst du denn genau machen und was funktioniert daran nicht.

    KleineHilfe 2.0

  • also die spawn alle in einem gleichen interior ich will das interior 8 benutzen aber nur ich will das es Ballas,vagos,rifa,terror auch benutzen können ohne das die alle bei ballas interior spawn?