10.06.2013, 18:01
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;
}