12.11.2011, 14:46
why this happens...
here are the warnings:
lines of the warningsThe 1719-1739 lines
line 51-52:
line 157:
here are the warnings:
pawn Код:
(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.
pawn Код:
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;
}
pawn Код:
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); //
pawn Код:
CreateDynamicObject(3095, 4355.2998046875, -1695.9000244141, 23.530000686646, 10, 0, 0);