new string[84],Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
if(sStats[playerid][pAdminlevel] == 5)
{
format(string,84,"{FFFFFF}[{FF0000}Projektleiter{FFFFFF}]");
DutyLabel[playerid] = CreatePlayer3DTextLabel(playerid,string, 0xAAAAFFFF,X,Y,Z+0.3,10.0,playerid, INVALID_VEHICLE_ID, 0);
return 1;
}
else if(sStats[playerid][pAdminlevel] == 4)
{
format(string,84,"{FFFFFF}[{FF0000}Hauptsupporter{FFFFFF}]");
DutyLabel[playerid] = CreatePlayer3DTextLabel(playerid,string, 0xAAAAFFFF,X,Y,Z+0.3,10.0,playerid, INVALID_VEHICLE_ID, 0);
return 1;
}
else if(sStats[playerid][pAdminlevel] == 3)
{
format(string,84,"{FFFFFF}[{FF0000}Administrator{FFFFFF}]");
DutyLabel[playerid] = CreatePlayer3DTextLabel(playerid,string, 0xAAAAFFFF,X,Y,Z+0.3,10.0,playerid, INVALID_VEHICLE_ID, 0);
return 1;
}
else if(sStats[playerid][pAdminlevel] == 2)
{
format(string,84,"{FFFFFF}[{FF0000}Supporter{FFFFFF}]");
DutyLabel[playerid] = CreatePlayer3DTextLabel(playerid,string, 0xAAAAFFFF,X,Y,Z+0.3,10.0,playerid, INVALID_VEHICLE_ID, 0);
return 1;
}
else if(sStats[playerid][pAdminlevel] == 1)
{
format(string,84,"{FFFFFF}[{FF0000}Moderator/Scout{FFFFFF}]");
DutyLabel[playerid] = CreatePlayer3DTextLabel(playerid,string, 0xAAAAFFFF,X,Y,Z+0.3,10.0,playerid, INVALID_VEHICLE_ID, 0);
return 1;
}
C:\Users\Blume\Desktop\samp\gamemodes\SanAndreasRolePlay.pwn(355) : warning 217: loose indentation
C:\Users\Blume\Desktop\samp\gamemodes\SanAndreasRolePlay.pwn(360) : warning 213: tag mismatch
C:\Users\Blume\Desktop\samp\gamemodes\SanAndreasRolePlay.pwn(366) : warning 213: tag mismatch
C:\Users\Blume\Desktop\samp\gamemodes\SanAndreasRolePlay.pwn(372) : warning 213: tag mismatch
C:\Users\Blume\Desktop\samp\gamemodes\SanAndreasRolePlay.pwn(378) : warning 213: tag mismatch
C:\Users\Blume\Desktop\samp\gamemodes\SanAndreasRolePlay.pwn(384) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Warnings.
Alles anzeigen