little help pleaze?
#5

Don't add the number after USA & PAKISTAN. They are already defined as a number.

When you compile your mode, if(gTeam[playerid] == PAKISTAN) will be replaced with if(gTeam[playerid] == 1).

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(gTeam[playerid] == PAKISTAN)
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, 0870,1815.6981,10.8203,193);
        return 1;
    }
    else if(gTeam[playerid] == USA)
    {
        SetPlayerInterior(playerid, 0);
        SetPlayerPos(playerid, 3330,1861.1024,17.9259,116);
        return 1;
    }
    return true;
}
Reply


Messages In This Thread
little help pleaze? - by Mr_Scripter - 09.11.2011, 04:59
Re: little help pleaze? - by Norn - 09.11.2011, 05:04
Re: little help pleaze? - by Mr_Scripter - 09.11.2011, 05:12
Re: little help pleaze? - by Mr_Scripter - 09.11.2011, 05:16
Re: little help pleaze? - by Psymetrix - 09.11.2011, 05:18
Re: little help pleaze? - by Mr_Scripter - 09.11.2011, 05:20
Re: little help pleaze? - by Mr_Scripter - 09.11.2011, 05:25
Re: little help pleaze? - by Norn - 09.11.2011, 05:30
Re: little help pleaze? - by Mr_Scripter - 09.11.2011, 05:32
Re: little help pleaze? - by Psymetrix - 09.11.2011, 06:16

Forum Jump:


Users browsing this thread: 3 Guest(s)