02.01.2011, 21:07
(
Последний раз редактировалось NoGravity; 03.01.2011 в 16:27.
)
Walking 0.1.0 R2
Hi! This is my first Include uploaded on this forum.This include allows you to completely block the possibility of running over a player in the SA-MP.
Download
To download this Include, click here.Functions
Functions list:TogglePlayerWalking
This function toggles player an Only Walk status. (You can not running)
Arguments:
playerid - ID player whom we are toggling the Only Walk status.
bool:toggle - Turn on or off the Only Walk status (true or false).
Returns:
No return value.
bool:IsPlayerWalking
Returns `true` if player status Only Walk is turned on or `false` if this status is turned off.
Arguments:
playerid - ID player whose status we are checking.
Returns:
True or False.
walking_OnPlayerUpdate
Just put this function into `OnPlayerUpdate` callback.
Arguments:
playerid - ID player which is updated.
Returns:
No return value.
walking_OnPlayerDisconnect
Just put this function into `OnPlayerDisconnect` callback.
Arguments:
playerid - ID player which is disconnected.
Returns:
No return value.
walking_OnPlayerEnterVehicle
Just put this function into `OnPlayerEnterVehicle` callback.
Arguments:
playerid - ID player which entered vehicle.
Returns:
No return value.
Video
[ame]http://www.youtube.com/watch?v=cS_Scj2LmPE[/ame]Used FilterScript in this video: [pastebin]
Ending
Thanks to:translate.******.pl/com - For help in translating the post for english
pawno.pl - For everything
Please, do not care my english - I learn English since September.
Thanks for downloading and commenting.
~ NoGravity