Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:box(playerid)
- {
- ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,1,1,1,1,1);
- SetPlayerAttachedObject(playerid, 0, 1271, 1, 0.41, 0.57, 0);
- return 1;
- }
- CMD:removebox(playerid)
- {
- if (IsPlayerAttachedObjectSlotUsed(playerid, 0) == 1)
- {
- RemovePlayerAttachedObject(playerid, 0);
- SendClientMessage(playerid, COLOR_GREEN, "You've dropped the box!");
- ClearAnimations(playerid);
- return 1;
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREEN, "You're not holding a box!");
- return 1;
- }
- }
Add Comment
Please, Sign In to add comment