Guten Tag,
Ich habe eine Skinauswahl(z.B für das LSPD) erstellt.
Doch als ich Fertig war,
C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\first.pwn(67) : error 010: invalid function or declaration
C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\first.pwn(108) : error 017: undefined symbol "classid"
C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\first.pwn(108) : error 029: invalid expression, assumed zero
C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\first.pwn(108) : error 029: invalid expression, assumed zero
C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\first.pwn(108) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Zeile:
switch(classid[playerid]) //HIER IST ZEILE 108!!
{
case 4,5:
{
if(SkinFrak[playerid] != frak)
{
GameTextForPlayer(playerid,"~b~Cops",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~LS Police Department",3000,6);
}
case 6,7:
{
SkinFrak[playerid] = 2;
if(SkiNFrak[playerid] != frak)
{
GameTextForPlayer(playerid,"~w~FBI",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~FBI",3000,6);
}
default:
{
SkinFrak[playerid] = 0;
if(SkinFrak[playerid] != frak)
{
GameTextForPlayer(playerid,"~w~Zivilisten",3000,6);
}
else
{
GameTextForPlayer(playerid,"~g~Zivilisten",3000,6);
}
Zeile 67:
//Skinauswahl
new SkinFrak[MAX_PLAYERS];
new frak;
frak = SpielerDaten[playerid][Fraktion]; //DAS IST DER ERROR..