+rep for any help!
#4

Hello!

Can you send us more code of OnPlayerConnect. Maybe the "file"?

Well, this is a better construction to set the teamid:
PHP код:
stock SetPlayergTeam(playerid,teamid)
{
    switch(
teamid)
    {
        case 
1:gTeam[playerid] = CIVILIAN;
        case 
2:gTeam[playerid] = POLICE;
        case 
3:gTeam[playerid] = PSD;
        case 
4:gTeam[playerid] = MECHANIC;
        case 
5:gTeam[playerid] = DOCK;
        case 
6:gTeam[playerid] = HITMAN;
        case 
7:gTeam[playerid] = MEDIC;
        case 
8:gTeam[playerid] = PILOT;
        case 
9:gTeam[playerid] = PILOT;
        case 
10:gTeam[playerid] = FIRE;
    }
    return 
gTeam[playerid];

- Mencent
Reply


Messages In This Thread
+rep for any help! - by ironmen - 19.07.2015, 07:44
Re: +rep for any help! - by mirou123 - 19.07.2015, 08:07
Re: +rep for any help! - by DaniceMcHarley - 19.07.2015, 09:31
AW: +rep for any help! - by Mencent - 19.07.2015, 09:33
Re: +rep for any help! - by ironmen - 19.07.2015, 12:17
Re: +rep for any help! - by mirou123 - 19.07.2015, 12:37
AW: +rep for any help! - by Mencent - 19.07.2015, 14:18

Forum Jump:


Users browsing this thread: 1 Guest(s)