Location of Useful Callbacks
#1

Hey guys. I've been wanting to use some of these useful callbacks however I can't seem to find a working version of it. The link is this https://sampwiki.blast.hk/wiki/Useful_Callbacks but the download provided in that page doesn't work. I did some research and I managed to find 1 downloadable link however the script is modified and crashes my script I've spent about 3 hours trying to find the reason why however I can't seem to find it. Does anyone have a copy or know where I can get it?

Thanks.
Reply
#2

That script is old and shouldn't be used anyways, you should search for a more up to date alternative
Reply
#3

Okay thanks. Do you have any suggestions?
Reply
#4

Which callback you need

OnPlayerGetShot - Already exists as OnPlayerGive / TakeDamage
OnPlayerModVehicle - Exists as OnEnterExitModShop
OnPlayerPickupItem - OnPlayerPickUpPickup
OnVehicleRespawnEx - OnVehicleSpawn
OnPlayerEnterArea, OnPlayerLeaveArea - Use the streamer plugin

OnPickupRespawn - Useless, if needed write a little Pickup System
OnPlayerBuyFood, OnPlayerBuyWeapon, OnPlayerGamble - should be detectable with GetPlayerAnimationIndex
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)