OnPlayerClickMap
#5

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
lol sorry, I'm doing this on an iphone.
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
    new Babatz = GetPlayerVehicleSeat(playerid);
    if(!IsPlayerInAnyVehicle(playerid))
    {
        SetPlayerPosFindZ(playerid, fX, fY, fZ);
    }
    else
    {
        new Batz = GetPlayerVehicleID(playerid);
        SetVehiclePos(Babatz,fX,fY,fZ);
        PutPlayerInVehicle(playerid,Babatz,Batz);
    }
    return 1;
}
Works like a charm! thanks man you always help me. Anyway Ill put you in my credits.
Reply


Messages In This Thread
OnPlayerClickMap - by kbalor - 13.07.2012, 15:26
Re: OnPlayerClickMap - by clarencecuzz - 13.07.2012, 15:44
Re: OnPlayerClickMap - by kbalor - 13.07.2012, 15:51
Re: OnPlayerClickMap - by clarencecuzz - 13.07.2012, 15:53
Re: OnPlayerClickMap - by kbalor - 13.07.2012, 16:14
Re: OnPlayerClickMap - by kbalor - 13.07.2012, 17:01
Re: OnPlayerClickMap - by Steven82 - 13.07.2012, 17:27
Re: OnPlayerClickMap - by clarencecuzz - 13.07.2012, 17:27
Re: OnPlayerClickMap - by kbalor - 13.07.2012, 17:30
Re: OnPlayerClickMap - by kbalor - 13.07.2012, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)