Guten Tag,
wie der Titel schon sagt, möchte ich mehrere Ports einfügen aber bekomme viele Errors.
Zuerst poste ich mal was in meinem Script steht (bin noch Anfänger :>).
ZitatAlles anzeigenpublic OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext,"/Pennerspawn",true)==0)
{
SetPlayerPos(playerid,1674.0913,1232.5703,10.8203);
SendClientMessage(playerid,0xFFFF00FF,"Du wurdest zum Pennerplatz teleportiert!");
return 1;
if(strcmp(cmdtext,"/BSN",true)==0)
{
SetPlayerPos(playerid,1199.3176,-919.9622,43.1091);
SendClientMessage(playerid,0xFFFF00FF,"Du wurdest zum BSN teleportiert!");
return 1;
}
return 0;
}
Nun die Erros:
ZitatAlles anzeigenC:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(82) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(82) : warning 217: loose indentation
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(92) : warning 217: loose indentation
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(92) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(92) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(97) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(97) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(97) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(102) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(102) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(102) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(107) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(107) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(107) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(112) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(112) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(112) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(117) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(117) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(117) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(122) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(122) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(122) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(127) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(127) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(127) : error 004: function "OnRconCommand" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(132) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(132) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(132) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(137) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(137) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(137) : error 004: function "OnObjectMoved" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(142) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(142) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(142) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(147) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(147) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(147) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(152) : warning 225: unreachable code
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(152) : error 029: invalid expression, assumed zero
C:\Users\Tobias\Desktop\GTA Sachen\Script\gamemodes\Tutorial.pwn(152) : error 004: function "OnVehicleMod" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Ich hoffe einer kann mir dabei helfen :>