[Question] Looking for vehicle function.
#2

GetPlayerVehicleSeat

pawn Код:
if(strcmp(cmdtext, "/myseat", true) == 0)
{
    new szString[14], iSeat = GetPlayerVehicleSeat(playerid);
 
    if(iSeat == 128) return SendClientMessage(playerid, 0xFFFFFFFF, "An error has prevented us from returning the seat ID.");
 
    format(szString, sizeof(szString), "Your seat: %i", iSeat);
    SendClientMessage(playerid, 0xFFFFFFFF, szString);
    return 1;
}
Reply


Messages In This Thread
[Question] Looking for vehicle function. - by tony_fitto - 10.06.2013, 17:41
Respuesta: [Question] Looking for vehicle function. - by Parka - 10.06.2013, 18:01
Re: [Question] Looking for vehicle function. - by Aly - 10.06.2013, 18:32

Forum Jump:


Users browsing this thread: 2 Guest(s)