18.05.2014, 12:49
Hello guys tried to make something ,but as you can see i am loser:
How to return value like true or 1?
Код:
stock IsPlayerSitting(playerid) { if(GetPlayerAnimationIndex(playerid)) { new animlib[32],animname[32]; GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32); if(strfind(animlib, "PED", true) && strfind(animname, "SEAT_down", true)) return 1; } }