ich hab versucht hinzukriegen das man sich nirgendwo anders hinporten kann wenn man in einer dm arena is bevor man /dmoff gemacht hat aber es funzt nicht ganz immr wenn ich /dm1,/dm2,etc oder /dm1off,/dm2off,etc eingebe lande ich im area69^^
hier der script^^:
if (indm == true)
{
SendClientMessage(playerid,0xFF0000AA,"Du musst erst /dm1off benutzen");
return 1;
}
else if (indm2 == true)
{
SendClientMessage(playerid,0xFF0000AA,"Du musst erst /dm2off benutzen");
return 1;
}
else if (indm3 == true)
{
SendClientMessage(playerid,0xFF0000AA,"Du musst erst /dm3off benutzen");
return 1;
}
else if (indm4 == true)
{
SendClientMessage(playerid,0xFF0000AA,"Du musst erst /dm4off benutzen");
return 1;
}
else if (infight == true)
{
SendClientMessage(playerid,0xFF0000AA,"Du musst erst /fightoff benutzen");
return 1;
}
else if (indm == false)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,341.9151,2029.8059,22.6406);
SendClientMessage(playerid,0x3A47DEFF,"Teleportiert zu Area69");
return 1;
}
else if (indm2 == false)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,341.9151,2029.8059,22.6406);
SendClientMessage(playerid,0x3A47DEFF,"Teleportiert zu Area69");
return 1;
}
else if (indm3 == false)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,341.9151,2029.8059,22.6406);
SendClientMessage(playerid,0x3A47DEFF,"Teleportiert zu Area69");
return 1;
}
else if (indm4 == false)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,341.9151,2029.8059,22.6406);
SendClientMessage(playerid,0x3A47DEFF,"Teleportiert zu Area69");
return 1;
}
else if (infight == false)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,341.9151,2029.8059,22.6406);
SendClientMessage(playerid,0x3A47DEFF,"Teleportiert zu Area69");
return 1;
}
else if (strcmp("/area69", cmdtext, true, 10) == 0)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,341.9151,2029.8059,22.6406);
SendClientMessage(playerid,0x3A47DEFF,"Teleportiert zu Area69");
return 1;
}
da gibts noch 10 andere ports wo ich das davor stehn hab hab halt selber ohne tut's was verscucht -.-^^