Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(IsAWorkbench(playerid) && Workpiece[playerid] == 1 && cexjob[playerid] == true)
- {
- ClearAnimations(playerid);
- SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x,y,z);
- PlantObject[playerid] = CreateObject(2358, x, y+1, z+0.05, 360.0,0.0,0.0);
- SetPlayerFacingAngle(playerid, 0.0);
- SetPVarInt(playerid, "PLAYER_ANIM", 1);
- Workpiece[playerid] = 0;
- pTimeJob[playerid] = 300;
- RemovePlayerAttachedObject(playerid, 1);
- SetPlayerAttachedObject(playerid, 0, 18644, 5,0.078999,0.042999,-0.012999,-3.299995,0.000000,0.000000);
- SetPlayerAttachedObject(playerid, 1, 18635, 6);
- ApplyAnimation(playerid, "INT_SHOP","shop_cashier", 4.1, 1, 1, 1, 1, 0, 1);
- SetTimerEx("KeyJob", 10000, false, "ii", playerid, 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement