#1

Код:
public OnPlayerRequestClass(playerid, classid)
{


SetPlayerPos(playerid, 2278.0034,2425.5061,3.4766);
SetPlayerFacingAngle(playerid, 358.2054);
SetPlayerCameraPos(playerid, 2277.9219,2428.3308,3.2734);
SetPlayerCameraLookAt(playerid, 2278.0034,2425.5061,3.4766);
GameTextForPlayer(playerid, "FBI", 1000, 4);


return 0;
}


#if defined TEAM_ARMY 1

SetPlayerFacingAngle(playerid, 358.2054);
SetPlayerCameraPos(playerid, 2277.9219,2428.3308,3.2734);
SetPlayerCameraLookAt(playerid, 2278.0034,2425.5061,3.4766);
GameTextForPlayer(playerid, "FBI", 1000, 4);

#endif
Код:
C:\Documents and Settings\Administrator\Desktop\TestServer\gamemodes\NexGeneration.pwn(561) : error 021: symbol already defined: "SetPlayerFacingAngle"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Please help
Reply
#2

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 2278.0034,2425.5061,3.4766);
    SetPlayerFacingAngle(playerid, 358.2054);
    SetPlayerCameraPos(playerid, 2277.9219,2428.3308,3.2734);
    SetPlayerCameraLookAt(playerid, 2278.0034,2425.5061,3.4766);
    GameTextForPlayer(playerid, "FBI", 1000, 4);
   
    #if defined TEAM_ARMY
   
    SetPlayerFacingAngle(playerid, 358.2054);
    SetPlayerCameraPos(playerid, 2277.9219,2428.3308,3.2734);
    SetPlayerCameraLookAt(playerid, 2278.0034,2425.5061,3.4766);
    GameTextForPlayer(playerid, "FBI", 1000, 4);
   
    #endif
   
    return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)