Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*-- Alt --*/
- protected func Hit()
- {
- iTurbo2 += 5;
- Message("Turbo-Energie: %d",this,iTurbo2);
- //Explosion
- if(iTurbo2 == 100)
- {
- ScheduleCall(this,"Timebomb",80,0);
- }
- return 1;
- }
- /*-- Neu --*/
- protected func Hit()
- {
- iTurbo2 += 5;
- if !(iTurbo2 <= 100)
- {
- Message("Turbo-Energie: %d",this,iTurbo2);
- }
- //Explosion
- if(iTurbo2 == 100)
- {
- ScheduleCall(this,"Timebomb",80,0);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement