pawn Code:
Trucking Server\gamemodes\Trucking.pwn(74) : warning 217: loose indentation
Trucking Server\gamemodes\Trucking.pwn(77) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0:
{
gTeam[playerid] = TEAM_TRUCKER;
SetPlayerTeam(playerid, TEAM_TRUCKER);
GameTextForPlayer(playerid, "Trucker", 5000, 5);
SetPlayerPos(playerid, 1522.6503,-806.6635,72.1700);
SetPlayerFacingAngle(playerid, 4018);
SetPlayerCameraPos(playerid, 1514.0861,-806.9355,72.0768);
SetPlayerCameraLookAt(playerid, 1522.6503,-806.6635,72.1700);
}
case 1:
{
gTeam[playerid] = TEAM_COP;
SetPlayerTeam(playerid, TEAM_COP);
GameTextForPlayer(playerid, "Police", 5000, 5);
SetPlayerPos(playerid, 1279.3276,-778.4965,95.9663);
SetPlayerFacingAngle(playerid,8298);
SetPlayerCameraPos(playerid,1266.1062,-778.3137,95.9665);
SetPlayerCameraLookAt(playerid,1279.3276,-778.4965,95.9663);
}
// Suppose there should be a case here?
} // What the heck is this?
SetPlayerToTeamColour(playerid); // And this... Would like a TAB on this one.
{ // And what is this...
}
return 1;
}