rendered paste body if(strcmp(cmd, "/ajobcmds", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Gun Job] /agunjobpos (/takejob) - /agunjobpos2 (/materials buy) - /agunjobpos3 (/materials dropoff) "); SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Drug Job] /adrugjobpos (/takejob) - /adrugjobpos2 (/drugs buy) - /agunjobpos3 (/drugs dropoff) "); SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Detective Job] /adetectivejobpos (/takejob) "); SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Lawyer Job] /alawyerjobpos (/takejob"); SendClientMessage(playerid,COLOR_LIGHTYELLOW2,"[Products Seller Job] /aproductjobpos (/takejob) - /aproductjobpos2 (/products buy)"); } else { SendClientMessage(playerid,COLOR_RED,"You're not an administrator!"); } return 1; }/////////////////////////////////////////////////////////////////////////////////////////// if(strcmp(cmd, "/agunjobpos", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); GunJob[TakeJobX] = x; GunJob[TakeJobY] = y; GunJob[TakeJobZ] = z; GunJob[TakeJobWorld] = GetPlayerVirtualWorld(playerid); GunJob[TakeJobInterior] = GetPlayerInterior(playerid); GunJob[TakeJobAngle] = angle; MoveStreamPickup(GunJob[TakeJobPickupID],GunJob[TakeJobX],GunJob[TakeJobY],GunJob[TakeJobZ]); SaveGunJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Gun Job Position."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; } if(strcmp(cmd, "/agunjobpos2", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); GunJob[BuyPackagesX] = x; GunJob[BuyPackagesY] = y; GunJob[BuyPackagesZ] = z; GunJob[BuyPackagesWorld] = GetPlayerVirtualWorld(playerid); GunJob[BuyPackagesInterior] = GetPlayerInterior(playerid); GunJob[BuyPackagesAngle] = angle; MoveStreamPickup(GunJob[BuyPackagesPickupID],GunJob[BuyPackagesX],GunJob[BuyPackagesY],GunJob[BuyPackagesZ]); SaveGunJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Gun Job Materials Packages Buy Position."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; } if(strcmp(cmd, "/agunjobpos3", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); GunJob[DeliverX] = x; GunJob[DeliverY] = y; GunJob[DeliverZ] = z; GunJob[DeliverWorld] = GetPlayerVirtualWorld(playerid); GunJob[DeliverInterior] = GetPlayerInterior(playerid); GunJob[DeliverAngle] = angle; MoveStreamPickup(GunJob[DeliverPickupID],GunJob[DeliverX],GunJob[DeliverY],GunJob[DeliverZ]); SaveGunJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Gun Job Materials Deliver Position."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; }/////////////////////////////////////////////////////////////////////////////////////////// if(strcmp(cmd, "/adrugjobpos", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); DrugJob[TakeJobX] = x; DrugJob[TakeJobY] = y; DrugJob[TakeJobZ] = z; DrugJob[TakeJobWorld] = GetPlayerVirtualWorld(playerid); DrugJob[TakeJobInterior] = GetPlayerInterior(playerid); DrugJob[TakeJobAngle] = angle; MoveStreamPickup(DrugJob[TakeJobPickupID],DrugJob[TakeJobX],DrugJob[TakeJobY],DrugJob[TakeJobZ]); SaveDrugJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Drug Job Position."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; } if(strcmp(cmd, "/adrugjobpos2", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); DrugJob[BuyDrugsX] = x; DrugJob[BuyDrugsY] = y; DrugJob[BuyDrugsZ] = z; DrugJob[BuyDrugsWorld] = GetPlayerVirtualWorld(playerid); DrugJob[BuyDrugsInterior] = GetPlayerInterior(playerid); DrugJob[BuyDrugsAngle] = angle; MoveStreamPickup(DrugJob[BuyDrugsPickupID],DrugJob[BuyDrugsX],DrugJob[BuyDrugsY],DrugJob[BuyDrugsZ]); SaveDrugJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Drug Job Buy Position."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; } if(strcmp(cmd, "/adrugjobpos3", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); DrugJob[DeliverX] = x; DrugJob[DeliverY] = y; DrugJob[DeliverZ] = z; DrugJob[DeliverWorld] = GetPlayerVirtualWorld(playerid); DrugJob[DeliverInterior] = GetPlayerInterior(playerid); DrugJob[DeliverAngle] = angle; MoveStreamPickup(DrugJob[DeliverPickupID],DrugJob[DeliverX],DrugJob[DeliverY],DrugJob[DeliverZ]); SaveDrugJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Drug Job Deliver Position."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; }/////////////////////////////////////////////////////////////////////////////////////////// if(strcmp(cmd, "/adetectivejobpos", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); DetectiveJobPosition[X] = x; DetectiveJobPosition[Y] = y; DetectiveJobPosition[Z] = z; DetectiveJobPosition[World] = GetPlayerVirtualWorld(playerid); DetectiveJobPosition[Interior] = GetPlayerInterior(playerid); DetectiveJobPosition[Angle] = angle; MoveStreamPickup(DetectiveJobPosition[PickupID],DetectiveJobPosition[X],DetectiveJobPosition[Y],DetectiveJobPosition[Z]); SaveDetectiveJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Detective Job."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; } if(strcmp(cmd, "/alawyerjobpos", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); LawyerJobPosition[X] = x; LawyerJobPosition[Y] = y; LawyerJobPosition[Z] = z; LawyerJobPosition[World] = GetPlayerVirtualWorld(playerid); LawyerJobPosition[Interior] = GetPlayerInterior(playerid); LawyerJobPosition[Angle] = angle; MoveStreamPickup(LawyerJobPosition[PickupID],LawyerJobPosition[X],LawyerJobPosition[Y],LawyerJobPosition[Z]); SaveLawyerJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the Lawyer Job."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; }/////////////////////////////////////////////////////////////////////////////////////////// if(strcmp(cmd, "/aproductjobpos", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); ProductsSellerJob[TakeJobX] = x; ProductsSellerJob[TakeJobY] = y; ProductsSellerJob[TakeJobZ] = z; ProductsSellerJob[TakeJobWorld] = GetPlayerVirtualWorld(playerid); ProductsSellerJob[TakeJobInterior] = GetPlayerInterior(playerid); ProductsSellerJob[TakeJobAngle] = angle; MoveStreamPickup(ProductsSellerJob[TakeJobPickupID],ProductsSellerJob[TakeJobX],ProductsSellerJob[TakeJobY],ProductsSellerJob[TakeJobZ]); SaveProductsSellerJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the products seller job."); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; } if(strcmp(cmd, "/aproductjobpos2", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 3) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z); new Float:angle; GetPlayerFacingAngle(playerid, angle); ProductsSellerJob[BuyProductsX] = x; ProductsSellerJob[BuyProductsY] = y; ProductsSellerJob[BuyProductsZ] = z; ProductsSellerJob[BuyProductsWorld] = GetPlayerVirtualWorld(playerid); ProductsSellerJob[BuyProductsInterior] = GetPlayerInterior(playerid); ProductsSellerJob[BuyProductsAngle] = angle; MoveStreamPickup(ProductsSellerJob[BuyProductsPickupID],ProductsSellerJob[BuyProductsX],ProductsSellerJob[BuyProductsY],ProductsSellerJob[BuyProductsZ]); SaveProductsSellerJob(); SendClientMessage(playerid, COLOR_ADMINCMD, "You have successfully set the products seller job. (buy products place)"); } else { SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "You're not an administrator."); } return 1; }