04.10.2015, 00:12
I dont even know if its supposed to be lined up like this, anyhow please correct my code
Код:
public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) { SetPlayerPos(playerid, 768.1497,-29.3624,1000.5859); SetPlayerFacingAngle(playerid, 180.000); SetPlayerInterior(playerid,6); SetPlayerColor(playerid, 0x9f9f9f); // ApplyAnimation(playerid, "GANGS", "leanIDLE", 4.1, 1, 1, 1, 0, 1, 1); } if( gDMRotation[playerid] ) //if he enables it { JoinRandomRotation(playerid); SetTimerEx("Joinspawnprotection", 3000, false, "i", playerid); } else { SetPlayerPos(playerid, 774.1058, -49.5124, 1000.5859); SetPlayerFacingAngle(playerid, 359.2367); SetPlayerInterior(playerid,6); SetPlayerColor(playerid, 0x9f9f9f); } return 1; }
Код:
\gamemodes\bare.pwn(151) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.