Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if((newkeys & KEY_WALK) && !(oldkeys & KEY_WALK))
- {
- if(Farmi[playerid][farm_obj] != INVALID_OBJECT_ID)
- {
- new Float:x, Float:y, Float:z;
- GetVehiclePos(Farmi[playerid][farm_trailer], x, y, z);if(!IsPlayerInRangeOfPoint(playerid, 2.5, x, y, z)) return SendClientMessage(playerid, COLOR_RED, "Du bist nicht in der Nähe von deinem Trailer.");
- ApplyAnimation(playerid, "CARRY", "putdwn105", 4.1, 0, 0, 0, 0, 0, 0);
- SetTimerEx("NAnim",475,false,"ii",playerid,2);
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement