15.09.2011, 22:40
Код:
C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(63) : warning 217: loose indentation C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(183) : warning 217: loose indentation C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(188) : warning 217: loose indentation C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(190) : error 010: invalid function or declaration C:\DOCUME~1\SOUADU~1.000\Bureau\MYSERV~1\GAMEMO~1\ms.pwn(202) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
SetPlayerPos(playerid, 2495.0413,-1685.2115,13.5115);
SetPlayerCameraPos(playerid, 2495.0134,-1681.1893,13.3387);
SetPlayerCameraLookAt(playerid, 2495.0413,-1685.2115,13.5115);
GameTextForPlayer(playerid, "~g~Grove", 5000, 5);
SetPlayerColor(playerid, 0x2D964DFF);
SetPlayerFacingAngle(playerid, 180.000);
ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
}
return 1;
}
if(classid == 1)
{
SetPlayerPos(playerid, 369.2329,1916.1652,18.3985);
SetPlayerCameraPos(playerid, 358.7333,1916.3860,17.6406);
SetPlayerCameraLookAt(playerid, 369.2329,1916.1652,18.3985);
GameTextForPlayer(playerid, "Army", 5000, 5);
SetPlayerColor(playerid, 0xC4840EFF);
SetPlayerFacingAngle(playerid, 180.000)
ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);
}
return 1;
}
pawn Код:
if(classid == 1)
pawn Код:
return 1;