detect smoking
#1

how can i detect if the player smoking?
Reply
#2

You could try:

https://sampwiki.blast.hk/wiki/GetPlayerSpecialAction
Reply
#3

thanks.
Reply
#4

pawn Код:
if( GetPlayerSpecialAction( playerid, SPECIAL_ACTION_SMOKE_CIGGY ) )
{
    // Stuff here
}
else SendClientMessage( playerid, 0xAAAAAA, "You aren't smoking a ciggy" );
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)