06.06.2017, 12:36
(
Последний раз редактировалось Whatname; 10.06.2017 в 14:37.
)
Hello everyone today i created SpeedCap include wich detects if player goes over speed limit or enters speed limit
zone.
functions list:
____________
CreateSpeedCap(capid, Float:х, Float:у, Float:z, Float:radius, Float:Speed_limit) creates a speed capture zone.
RemoveSpeedCap(capid) removes speed capture zone.
RemoveAllSpeedCap() removes all capture zone.
GetSpeedCapSpeedLimit(capid) gets the value of the speed capture zone speed limit.
__________________________________
CallBacks:
_________
OnPlayerDriveFast(playerid, capid) When player drives over the speed limit of the speed capture zone. (Checks if player is in speed capture zone and speeding)
____________________________________________
VIDEO:
_______
PASTEBIN (INC): https://pastebin.com/Fuppdte8
PASTEBIN (EXAMPLE FS): https://pastebin.com/9JTWiktF
Credits to:
WhatName (me): for SpeedCap.
NaS: for useful suggestions.
Incognito: streamer.
Pottus: for helping
SAMP team: for a_samp
zone.
functions list:
____________
CreateSpeedCap(capid, Float:х, Float:у, Float:z, Float:radius, Float:Speed_limit) creates a speed capture zone.
RemoveSpeedCap(capid) removes speed capture zone.
RemoveAllSpeedCap() removes all capture zone.
GetSpeedCapSpeedLimit(capid) gets the value of the speed capture zone speed limit.
__________________________________
CallBacks:
_________
OnPlayerDriveFast(playerid, capid) When player drives over the speed limit of the speed capture zone. (Checks if player is in speed capture zone and speeding)
____________________________________________
VIDEO:
_______
PASTEBIN (INC): https://pastebin.com/Fuppdte8
PASTEBIN (EXAMPLE FS): https://pastebin.com/9JTWiktF
Credits to:
WhatName (me): for SpeedCap.
NaS: for useful suggestions.
Incognito: streamer.
Pottus: for helping
SAMP team: for a_samp