31.07.2015, 19:32
Hello, Im trying to make an anti car parking and i searched everywhere but didn't find anything.
So now what dit i try ? THIS is onplayertakedamage:
So now what dit i try ? THIS is onplayertakedamage:
Код:
if(playerState == PLAYER_STATE_DRIVER) { GetAnimationName(GetPlayerAnimationIndex(playerid),l_animlib,32,l_animname,32); if(weaponid == 49 || strcmp(l_animlib, "KO", true) == 0 && strcmp(l_animname, "SPIN_R", true) == 0) { GameTextForPlayer(issuerid,"~w~Car Parking is ~r~forbiden !", 3000, 3); } }