Anti-Team Jack
#1

pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(vehicleid == GetPlayerVehicleID(i))
        {
            if(IsPlayerInVehicle(i, vehicle))
            {
                if(Team[i] == Team[playerid])
                {
                    new Float:slx, Float:sly, Float:slz;
                    GetPlayerPos(playerid, slx, sly, slz);
                    SetPlayerPos(playerid, slx, sly, slz+2);
                    SendClientMessage(playerid, COLOR_ERROR, "ERROR: You can not team jack!");
                    RemovePlayerFromVehicle(playerid);
                }
            }
        }
    }
The code above is my anti team jack. Would it work?
Reply


Messages In This Thread
Anti-Team Jack - by Sledge - 21.12.2010, 02:56
Respuesta: Anti-Team Jack - by admantis - 21.12.2010, 02:57
Re: Respuesta: Anti-Team Jack - by Sledge - 21.12.2010, 03:14
Re: Anti-Team Jack - by Leeroy. - 21.12.2010, 03:51

Forum Jump:


Users browsing this thread: 1 Guest(s)