How to return?
#2

pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
    {
        if(GetPlayerVehicleID(playerid) == 516)
        {
            if(gTeam[playerid] == TEAM_DRIVERS)
            {
                GameTextForPlayer(playerid, "~w~ U entered A~y~ Lvl 3~w~ vehicle. Please drive to the ~r~ Red marker~w~, located in front of the club.", 3000, 4);
                startworkpickup = CreatePickup(1317, 14, 670.15740966797,-12752222900391,13467164993286, -1); //also, when a player enters this pickup, (if pickupid= blahblah, and then my code, it doesn't work either... but that's not in this callback
            }
            else
            {
                SendClientMessage(playerid,COLOR_ERROR,"Only Drivers can use this vehicle");
                RemovePlayerFromVehicle(playerid);
            }
        }
    }
Reply


Messages In This Thread
How to return? - by knackworst - 25.08.2011, 13:12
Re: How to return? - by Dragony92 - 25.08.2011, 13:16
Re: How to return? - by knackworst - 25.08.2011, 13:30
Re: How to return? - by Dragony92 - 25.08.2011, 13:35
Re: How to return? - by Jefff - 25.08.2011, 13:41
Re: How to return? - by knackworst - 25.08.2011, 13:46
Re: How to return? - by RyDeR` - 25.08.2011, 15:20
Re: How to return? - by Dragony92 - 25.08.2011, 15:38

Forum Jump:


Users browsing this thread: 2 Guest(s)