Errors whilst compling
#10

pawn Код:
ClassSel_SetupCharSelection(playerid)
{
    if(gPlayerCitySelection[playerid] == CITY_LOS_SANTOS) {
        SetPlayerInterior(playerid,11);
        SetPlayerPos(playerid,508.7362,-87.4335,998.9609);
        SetPlayerFacingAngle(playerid,0.0);
    SetPlayerCameraPos(playerid,508.7362,-83.4335,998.9609);
        SetPlayerCameraLookAt(playerid,508.7362,-87.4335,998.9609);
    }
    else if(gPlayerCitySelection[playerid] == CITY_SAN_FIERRO) {
        SetPlayerInterior(playerid,3);
        SetPlayerPos(playerid,-2673.8381,1399.7424,918.3516);
        SetPlayerFacingAngle(playerid,181.0);
    SetPlayerCameraPos(playerid,-2673.2776,1394.3859,918.3516);
        SetPlayerCameraLookAt(playerid,-2673.8381,1399.7424,918.3516);
    }
    else if(gPlayerCitySelection[playerid] == CITY_LAS_VENTURAS) {
        SetPlayerInterior(playerid,3);
        SetPlayerPos(playerid,349.0453,193.2271,1014.1797);
        SetPlayerFacingAngle(playerid,286.25);
    SetPlayerCameraPos(playerid,352.9164,194.5702,1014.1875);
        SetPlayerCameraLookAt(playerid,349.0453,193.2271,1014.1797);
    }
   
}
?

EDIT:
Make sure you have all of the code from grandlarc.pwn that includes "gPlayerCitySelection".. Did this help?
Reply


Messages In This Thread
Errors whilst compling - by acade - 06.12.2009, 12:07
Re: Errors whilst compling - by DeathOnaStick - 06.12.2009, 12:13
Re: Errors whilst compling - by acade - 06.12.2009, 12:14
Re: Errors whilst compling - by DeathOnaStick - 06.12.2009, 12:18
Re: Errors whilst compling - by acade - 06.12.2009, 12:21
Re: Errors whilst compling - by DeathOnaStick - 06.12.2009, 12:23
Re: Errors whilst compling - by acade - 06.12.2009, 17:13
Re: Errors whilst compling - by Jose 510 - 06.12.2009, 17:20
Re: Errors whilst compling - by acade - 06.12.2009, 17:22
Re: Errors whilst compling - by Jose 510 - 06.12.2009, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)