KAKAN

For anik #2

Feb 25th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. function onScriptLoad(){
  2. hehe <- array( 100, 1 );
  3. }
  4.  
  5. function onPlayerMove( player, lastX, lastY, lastZ, newX, newY, newZ ){
  6. if ( InPoly( player.Pos.x, player.Pos.y, -302.09, -627.808, -308.954, -627.943, -309.025, -633.662, -302.049, -633.737 ) ) return 1;
  7. else NewTimer("GoBich",1000,10,player.ID);
  8. }
  9.  
  10. function GoBich( pID ){
  11. local player = FindPlayer( pID ), d = hehe[ pID ];
  12. if( !player ) return;
  13. PrivMessage(player,"-> " + d );
  14. hehe[ pID ]++;
  15. if( d == 10 ) PrivMessage( player, "You're out bich!");
  16. status[ pID ].match = false;
  17. }
Add Comment
Please, Sign In to add comment