public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{ new PlayerState[MAX_PLAYERS];
new TempVehicleID[MAX_PLAYERS];
new TempVehicle[MAX_PLAYERS];
PlayerState[playerid] = GetPlayerState(playerid);
TempVehicleID[playerid] = GetPlayerVehicleID(playerid);
TempVehicle[playerid] = GetVehicleModel(TempVehicleID);
}
Fordító TempVehicle[playerid] = GetVehicleModel(TempVehicleID); sorra jelzi a hibát.
De miért? Hiszen mindent jól adtam meg, GetVehicleModel egész értéket ad vissza.
error 035: argument type mismatch (argument 1)