CreateVehicle(456,785.1480000,-610.9673000,16.5104000,266.7738000,105,72,15);
A 15 miatt mivel az a kocsi HP-ja. Azt szedd ki onnan. Ezzel én is szívtam már CreateVehicle(456,785.1480000,-610.9673000,16.5104000,266.7738000,105,72,15); KOCSI ID, X, Y, Z, SZÍN1, SZÍN2, HP
public OnVehicleSpawn(vehicleid){return 1;}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){ if(Biciklik(vehicleid)) {MotorAllapot(vehicleid, true); } if(JarmuInfo[vehicleid][jRiaszto] == 1) {JarmuRiaszto(vehicleid);SetJarmu(vehicleid, KOCSI_RIASZTO, 1);SetTimerEx(\"JarmuRiaszto\", 5000, false, \"i\", vehicleid);} SaveStats(playerid);return 1;}
public OnPlayerStateChange(playerid, newstate, oldstate){ if(newstate == PLAYER_STATE_DRIVER && IsPlayerInAnyVehicle(playerid) && !Biciklik( GetPlayerVehicleID(playerid) ) ) { if(Motor[GetPlayerVehicleID(playerid)] == 0) { SendClientMessage(playerid, COLOR_YELLOW, \"A motort a /motor paranccsal indíthatod be.\");}}return 1;}