OnPlayerClickMap
#3

Quote:
Originally Posted by clarencecuzz
Посмотреть сообщение
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
        new Babatz = GetPlayerVehicleSeat(playerid);
    if(!IsPlayerInAnyVehicle)  <------- Error on this line
        {
            SetPlayerPosFindZ(playerid, fX, fY, fZ);
        }
    else
        {
            new Batz = GetPlayerVehicleID(playerid);
            SetVehiclePos(Babatz,fX,fY,fZ);
            PutPlayerInVehicle(playerid,Babatz,Batz);
        }
    return 1;
}
EDIT: There is no actual way to disable to marker automatically, it can only be done manually by the player themself.
Ohh i see. And for the error:

Код:
(9350) : warning 217: loose indentation
(9350) : error 076: syntax error in the expression, or invalid function call
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: 2 Guest(s)