how about this?
#3

AHH DAMN


pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerTeamFromClass(playerid, classid);
    return 1;
}

SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 0)
{
gTeam[playerid] = TEAM_GROVE;
}
else
{
gTeam[playerid] = TEAM_BALLA;
}
}
return 1;    <--- 70
{
SetPlayerToTeamColor(playerid)
{
    if (gTeam[playerid] == TEAM_GROVE)
    {
        SetPlayerColor(playerid, TEAM_GROVE_COLOR);
    }
    else if (gTeam[playerid] == TEAM_BALLA)
    {
        SetPlayerColor(playerid, TEAM_BALLA_COLOR);
    }
}


C:\Users\Onno\Documents\ALLIN1\da\filterscripts\te ams.pwn(70) : error 010: invalid function or declaration
Reply


Messages In This Thread
how about this? - by PANNA - 12.12.2009, 09:58
Re: how about this? - by [HiC]TheKiller - 12.12.2009, 10:32
Re: how about this? - by PANNA - 12.12.2009, 12:56
Re: how about this? - by Nero_3D - 12.12.2009, 13:06
Re: how about this? - by PANNA - 12.12.2009, 13:33
Re: how about this? - by acade - 12.12.2009, 13:37
Re: how about this? - by PANNA - 12.12.2009, 13:45
Re: how about this? - by Nero_3D - 12.12.2009, 14:11
Re: how about this? - by PANNA - 12.12.2009, 14:38
Re: how about this? - by PANNA - 12.12.2009, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)