(51) : warning 217: loose indentation
(52) : warning 217: loose indentation
(157) : warning 217: loose indentation
(1192) : warning 217: loose indentation
(1442) : warning 217: loose indentation
(1675) : warning 217: loose indentation
1709) : warning 217: loose indentation
(1719) : warning 211: possibly unintended assignment
(1723) : warning 211: possibly unintended assignment
(1731) : warning 211: possibly unintended assignment
(1734) : warning 211: possibly unintended assignment
(1739) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Warnings.
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid, 0);
switch (Map) {
case 0: {
SendRconCommand("mapname cs_italy");
Loading(playerid);
if (gTeam[playerid] = TEAM_COUNTER)
{
SetPlayerPos(playerid, 716.8705,-2308.6211,107.9117);
}
if (gTeam[playerid] = TEAM_TERRO)
{
SetPlayerPos(playerid,684.1284,-2409.9363,107.1745);
}
}
case 1: {
SendRconCommand("mapname de_dust2");
Loading(playerid);
if (gTeam[playerid] = TEAM_COUNTER) {
SetPlayerPos(playerid,4427.6431,-1640.7981,22.3554);
}
if (gTeam[playerid] = TEAM_TERRO) {
SetPlayerPos(playerid, 4354.7001, -1682.3000, 25.5);
}
}
}
return 1;
}
CreateDynamicObject(17859,23.88316000,1565.69921900,13.91923600,0.00000000,0.00000000,267.18080000);
CreateDynamicObject(5520,-17.94984800,1530.63769500,16.57575400,0.00000000,0.00000000,91.01420000); //
CreateDynamicObject(3095, 4355.2998046875, -1695.9000244141, 23.530000686646, 10, 0, 0);
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid, 0);
switch (Map)
{
case 0:
{
SendRconCommand("mapname cs_italy");
Loading(playerid);
if (gTeam[playerid] = TEAM_COUNTER)
{
SetPlayerPos(playerid, 716.8705,-2308.6211,107.9117);
}
if (gTeam[playerid] = TEAM_TERRO)
{
SetPlayerPos(playerid,684.1284,-2409.9363,107.1745);
}
}
case 1:
{
SendRconCommand("mapname de_dust2");
Loading(playerid);
if (gTeam[playerid] = TEAM_COUNTER)
{
SetPlayerPos(playerid,4427.6431,-1640.7981,22.3554);
}
if (gTeam[playerid] = TEAM_TERRO)
{
SetPlayerPos(playerid, 4354.7001, -1682.3000, 25.5);
}
}
}
return 1;
}
if (gTeam[playerid] =
if (gTeam[playerid] ==
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid, 0);
switch (Map) {
case 0:
{
SendRconCommand("mapname cs_italy");
Loading(playerid);
if (gTeam[playerid] == TEAM_COUNTER) {
SetPlayerPos(playerid, 716.8705,-2308.6211,107.9117);
}
if (gTeam[playerid] == TEAM_TERRO) {
SetPlayerPos(playerid,684.1284,-2409.9363,107.1745);
}
}
case 1:
{
SendRconCommand("mapname de_dust2");
Loading(playerid);
if (gTeam[playerid] == TEAM_COUNTER) {
SetPlayerPos(playerid,4427.6431,-1640.7981,22.3554);
}
if (gTeam[playerid] == TEAM_TERRO) {
SetPlayerPos(playerid, 4354.7001, -1682.3000, 25.5);
}
}
}
return 1;
}
actually it wasnt that the problem it was that i forgot to add "#pragma tabsize 0 " :P
|
![]() Tabsize 0 is not a solution! It's a workaround for lazy people like you. I guarantee that you'll regret it later on. |