Hallo,
bei mir funktionier der Fraktionsspawn nicht... (ich benutze das von MR.Monat)
//Fraktionsspawns
#define sapdspawn 1541.2133,-1675.2908,13.5521
#define fbispawn 1035.8646,1016.5082,11.0000
#define swatspawn -2446.3020,522.4968,30.1982
//Die Fraktionen
#define Fraktion "SAPD"
#define Fraktion2 "S.W.A.T"
#define Fraktion3 "FBI"
public OnPlayerRequestClass(playerid, classid)
{
SetSpawnInfo(playerid, 0, 230, 1128.8724, -1489.0304, 22.7690, 359.4389, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
return 1;
}
public OnPlayerSpawn(playerid)
{
switch(GetPVarInt(playerid,"Fraktion"))
{
case 0:{}
case 1:{SetPlayerPos(playerid,sapdspawn);SetPlayerColor(playerid,BLAU);}
case 2:{SetPlayerPos(playerid,fbispawn);
case 3:{SetPlayerPos(playerid,swatspawn);
}
TextDrawShowForPlayer(playerid,Uhr); // Für die Uhr
TextDrawShowForPlayer(playerid,Datum); // Fürs Datum
StopAudioStreamForPlayer(playerid);
SetPlayerColor(playerid,0xFFFFFFFF);
return 1;
}
und hier mal die Errors
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(75) : error 004: function "Wetter" is not implemented
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(98) : error 004: function "UpdateUhr" is not implemented
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(109) : error 004: function "UpdateDatum" is not implemented
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(210) : error 017: undefined symbol "SpielerSpeichern"
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(222) : warning 217: loose indentation
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(222) : error 014: invalid statement; not in switch
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(222) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(222) : error 001: expected token: ";", but found ":"
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(222) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\Alles Ordner\GTA\Server\gamemodes\tutorial.pwn(222) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
Bitte helft mir da
MfG DerCreeper