how about this?
#1

I'm trying to make 2 teams as it is showed at wiki-samp
https://sampwiki.blast.hk/wiki/PAWN_tutorial


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)
{
    if (classid == 0)
    {
        gTeam[playerid] = TEAM_GROVE;
    }
    else
    {
        gTeam[playerid] = TEAM_BALLA;
    }
}
    return 1;
}
C:\Users\Onno\Documents\ALLIN1\da\filterscripts\te ams.pwn(55) : error 017: undefined symbol "SetPlayerTeamFromClass"



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)