01.12.2014, 08:26
Quote:
Faz assim:
Код:
OnPlayerUpdate(playerid) { if(IsPlayerInAnyVehicle(playerid) && *aqui faz a verificaзгo do turbo*) { new Float:x, Float:y,Float:z, vehicleid = GetPlayerVehicleID(playerid); GetVehicleVelocity(vehicleid, x, y,z); SetVehicleVelocity(vehicleid, x*2, y*2, z); } return 1; } |
