Jump to content

Police Car Timer


Donvalley

Recommended Posts

Found This On Website

on *:SIGNAL:mta.enter: { 
   if ($mta.skin($1,$2) == 2)  && ($mta.vehicle($1,$2).name == Police) &&  (!$mta.passenger($1,$2)) { 
        mta.msg $1 $2 Please Step Out Of The Police Car! $chr(126) 30 Secs Left! 
        $+(!.timercopcar,$1,.,$2) 5 30 mta.slap $1 $2 
  } 
} 
on *:SIGNAL:mta.exit:{ $+(!.timercopcar,$1,.,$2) off } 
on *:SIGNAL:mta.part:{ $+(!.timercopcar,$1,.,$2) off } 

It There A Way To Make it After The 30 Seconds It Kills The Player/Or Slaps Him To Death After The 30 Seconds??

Thanks In Advance

Link to comment
on *:SIGNAL:mta.enter: { 
  if ($mta.skin($1,$2).name != Cop) && ($mta.vehicle($1,$2).name == Police) && (!$mta.passenger($1,$2)) { 
    mta.msg $1 $2 Please Step Out Of The Police Car! $chr(126) 30 Secs Left! 
    $+(!.timercopcar,$1,.,$2) 1 30 mta.enter.kill $1 $2 
  } 
} 
alias mta.enter.kill { !.timerenterkill 7 0 mta.slap $1 $2 } 
on *:SIGNAL:mta.exit:{ $+(!.timercopcar,$1,.,$2) off } 
on *:SIGNAL:mta.part:{ $+(!.timercopcar,$1,.,$2) off } 

Edited by Guest
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...