Sprunk callback
#1

Hello. I wanted to ask if anyone created OnPlayerUseSprunk callback or something similar? I was searching but i didn't find.
Reply
#2

No, it doesn't exist, but I made it for you, if you want to remove the sprunk if he has one, use this:

pawn Код:
stock OnPlayerUseSprunk(playerid)
{
             if GetPlayerSpecialAnimation(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
    return SetPlayerSpecialAnimation(playerid, SPECIAL_ACTION_NONE);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)