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...
By Anonymous on the 9th of Feb 2010 07:24:51 PM
Download |
Raw |
Embed |
Report
new Float:a;
for(new vid ;vid <500;vid++)
{
new Float:X ,Float:Y ,Float:Z;
GetVehiclePos(vid,X ,Y ,Z);
if(IsPlayerInRangeOfPoint(playerid,15.0,X ,Y ,Z))
{
GetPlayerFacingAngle(playerid,a);
new Float:VX ,Float:VY ,Float:VZ;
VX += (3 * floatsin(-a, degrees));VY += (3 * floatcos(-a, degrees));
SetVehicleVelocity(vid,VX,VY,VZ);
}
}
Submit a correction or amendment below.
Make A New Post