Recent Posts
None | 2 sec ago
None | 22 sec ago
None | 47 sec ago
None | 54 sec ago
MySQL | 57 sec ago
C | 1 min ago
ActionScript | 1 min ago
C++ | 1 min ago
Java | 1 min ago
PHP | 2 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 9th of Feb 2010 07:24:51 PM Download | Raw | Embed | Report
  1. new Float:a;
  2.         for(new vid ;vid <500;vid++)
  3.         {
  4.             new Float:X ,Float:Y ,Float:Z;
  5.             GetVehiclePos(vid,X ,Y ,Z);
  6.                 if(IsPlayerInRangeOfPoint(playerid,15.0,X ,Y ,Z))
  7.                 {
  8.                 GetPlayerFacingAngle(playerid,a);
  9.                 new Float:VX ,Float:VY ,Float:VZ;
  10.                         VX += (3 * floatsin(-a, degrees));VY += (3 * floatcos(-a, degrees));
  11.                         SetVehicleVelocity(vid,VX,VY,VZ);
  12.                 }
  13.         }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: