[Include] Walking 0.1.0 R2
#1

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
Reply
#2

wrong section its not plugin
Reply
#3

Good but Wrong section
Reply
#4

Wrong section... http://forum.sa-mp.com/forumdisplay.php?f=17
_____

Nice include
Reply
#5

Thanks for replace...
Reply
#6

Nice job very useful one suggestion. Try to optimize it, there are PVars faster and low memory usage. Also you could try optimize it with callback hooking.
Reply
#7

Quote:
Originally Posted by GaGlets®
Посмотреть сообщение
Nice job very useful one suggestion. Try to optimize it, there are PVars faster and low memory usage. Also you could try optimize it with callback hooking.
Lol pVars faster and hooking faster?

Reply
#8

Though so i have never tested hooking but atleast PVar uses less memory.. ;P
Reply
#9

^ I agree with those people, although really great plugin and include
Reply
#10

Its NOT an Plugin. It's an Include.

PS:

can you put an sample Video?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)