Originally Posted by ThuuGLif3
Topo:
pawn Код:
new pTimer[ MAX_PLAYERS ] = {-1, ...};
pawn Код:
public OnPlayerDeath(playerid, killerid, reason){
static Float: Pos[3] ; GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]); { pTimer[playerid] = SetTimerEx("FicarPos", 5000, false, "fffi",Pos[0], Pos[1], Pos[2], playerid); { return true ; }
Final GM:
pawn Код:
forward FicarPos(Float:x, Float:y, Float:z, i); public FicarPos(Float:x, Float:y, Float:z, i) { { SetPlayerPos(i, x, y, z); ApplyAnimation(i, "CRACK", "crckdeth2", 4.1,1,1,1,1,1,1); pTimer[i] = -1; { return 1; }
|