05.02.2013, 19:26
Quote:
Tenta agora:
Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid) { new Float:X = 0.000000, Float:Y = 0.000000, Float:Z = 0.000000, Float:A = 0.000000; GetPlayerPos(playerid, X, Y, Z); SetPlayerPos(playerid,X+2,Y+2,Z+1); GetPlayerFacingAngle(playerid, A); RemovePlayerFromVehicle(playerid); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); return 1; } |
Costuma falhar mбs
pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
RemovePlayerFromVehicle(playerid);
SetTimerEx("AnimInit", 1000, false, "i", playerid);
return 1;
}
forward AnimInit(playerid);public AnimInit(playerid) return ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);