16.12.2014, 13:13
(
Последний раз редактировалось UltraScripter; 16.12.2014 в 13:45.
)
Well This Is Pretty Much A Filterscript I Made This
If The Car Drives To Some Point And You Dont Want The Car Enter That Point You Can Push The Car
The Code:
Pics:
And Sorry If You Didn't Understand Me !...
If The Car Drives To Some Point And You Dont Want The Car Enter That Point You Can Push The Car
The Code:
pawn Код:
//By UltraScripter Move Back
//UltraScripter ksdkds ksdk skd kds ksdksd
#include <a_samp>
#if defined FILTERSCRIPT
#endif
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Move Car Back By UltraScripter ! ! ! ");
print("--------------------------------------\n");
return 1;
}
public OnPlayerUpdate(playerid)
{
new vehicleid, Float:x, Float:y, Float:z;
vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInRangeOfPoint(playerid, 30.0, 1402.6217,873.7759,6.6783)) //you can change the pos i just did this for example
{
if(IsPlayerInAnyVehicle(playerid))
{
GetVehicleVelocity(vehicleid, x, y, z);
SetVehicleVelocity(vehicleid, x*x, y*y, z*z);
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~r~You Are Not Allowd To Drive There!", 3000, 4);
SendClientMessage(playerid, 0xFFFF00FF, "You Cannot {FF0000}Enter {FFFF00}There!");
}
}
return 1;
}
//By UltraScripter Move Back
//UltraScripter ksdkds ksdk skd kds ksdksd
And Sorry If You Didn't Understand Me !...