Habe wohl einen Klammefehler finde ihn aber nicht
ocmd:exit(playerid,params[])
{
if(GetPlayerVirtualWorld(playerid) == 1)
{
if(IsPlayerInRangeOfPoint(playerid,3,2807.5945,-1174.7563,1025.5703))
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,1085.0936,-1226.3617,15.8203);
SetPlayerVirtualWorld(playerid,0);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,270);
SendClientMessage(playerid,GRAU,"Du hast die Ballas Base verlassen!");
}
else if(GetPlayerVirtualWorld(playerid) == 2)
{
if(IsPlayerInRangeOfPoint(playerid,3,2807.5945,-1174.7563,1025.5703))
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,2143.6633,-1802.3103,16.1406);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,270);
SendClientMessage(playerid,GRAU,"Du hast die Hitman Base verlassen!");
}
else if(GetPlayerVirtualWorld(playerid) == 3)
{
if(IsPlayerInRangeOfPoint(playerid,3,2807.5945,-1174.7563,1025.5703))
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,2495.4055,-1687.8857,13.5166);
SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,0);
SendClientMessage(playerid,GRAU,"Du hast die Groove Street Base verlassen!");
}
else if(GetPlayerVirtualWorld(playerid) == 4)
{
if(IsPlayerInRangeOfPoint(playerid,3,2807.5945,-1174.7563,1025.5703))
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid,-2721.3125,-316.9236,7.8438);
SendClientMessage(playerid,GRAU,"Du hast die Triadenbase verlassen!");
}
else if(GetPlayerVirtualWorld(playerid) == 5)
{
if(IsPlayerInRangeOfPoint(playerid,3,2807.5945,-1174.7563,1025.5703))
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerFacingAngle(playerid, 180);
SetPlayerPos(playerid,-2623.6453,1409.7599,7.0938);
SendClientMessage(playerid,GRAU,"Du hast die Cali Kartell Base verlassen!");
}
else if(GetPlayerVirtualWorld(playerid) == 6)
{
if(IsPlayerInRangeOfPoint(playerid,3,2807.5945,-1174.7563,1025.5703))
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerFacingAngle(playerid, 180);
SetPlayerPos(playerid,1507.8292,730.5375,10.8203);
SendClientMessage(playerid,GRAU,"Du hast die Yakuza Base verlassen!");
}
else
{
SendClientMessage(playerid,DUNKELROT,"Du kannst hier nichts verlassen!");
}
return 1;
}
will halt wenn er einfach /exit eingibt das die nachricht kommt Du kannst hier nichts verlassen
Meine Errors:
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(204) : error 017: undefined symbol "MySQL_SetupConnection"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(210) : error 017: undefined symbol "AntiDeAMX"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(1986) : error 017: undefined symbol "SaveUserStats"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2047) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2127) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2128) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2147) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2150) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2168) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2169) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2178) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2179) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2181) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2221) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2225) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2227) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2229) : error 017: undefined symbol "SaveUserStats"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2238) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2240) : error 017: undefined symbol "SaveUserStats"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2251) : error 017: undefined symbol "SaveUserStats"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2261) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2264) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2265) : error 017: undefined symbol "SpielerName"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2268) : error 017: undefined symbol "SaveUserStats"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2301) : error 017: undefined symbol "sscanf"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2407) : error 079: inconsistent return types (array & non-array)
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.