Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- D:\Includes\include\playerzone.inc(422) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\playerzone.inc(445) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_iterate.inc(696) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_iterate.inc(820) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\sscanf2.inc(149) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\sscanf2.inc(193) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\AutoAFK.inc(136) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(207) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(222) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(426) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(556) : warning 219: local variable "x" shadows a variable at a preceding level
- D:\Includes\include\mSelection.inc(656) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\md5.inc(272) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\md5.inc(316) : warning 219: local variable "index" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_amx.inc(908) : warning 219: local variable "idx" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_hooks/impl.inc(232) : warning 219: local variable "idx" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_hooks/impl.inc(323) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_master/once.inc(343) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_master/once.inc(399) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_master/once.inc(446) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_commands.inc(874) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_commands.inc(967) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_commands.inc(978) : warning 219: local variable "idx" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_commands.inc(1049) : warning 219: local variable "i" shadows a variable at a preceding level
- D:\Includes\include\YSI\y_commands.inc(1116) : error 025: function heading differs from prototype
- D:\Includes\include\YSI\y_commands.inc(1116) : error 025: function heading differs from prototype
- D:\Includes\include\YSI\y_commands.inc(1118) : error 025: function heading differs from prototype
- D:\Includes\include\YSI\y_commands.inc(1118) : error 025: function heading differs from prototype
- D:\Includes\include\YSI\y_commands.inc(1118) : error 025: function heading differs from prototype
- D:\Includes\include\YSI\y_commands.inc(1118) : fatal error 107: too many error messages on one line
- Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
- case 1100: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
- GameTextForPlayer(playerid, "Vaci mulse: 1/7", 300, 6);
- SetPlayerCheckpoint(playerid, -364.9109,-1434.6281,25.7266, 0.3);
- CP[playerid] = 1101;
- }
- case 1101: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
- GameTextForPlayer(playerid, "Vaci mulse: 2/7", 300, 6);
- SetPlayerCheckpoint(playerid, -365.3781,-1437.7466,25.7266, 0.3);
- CP[playerid] = 1102;
- }
- case 1102: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
- GameTextForPlayer(playerid, "Vaci mulse: 3/7", 300, 6);
- SetPlayerCheckpoint(playerid, -365.5869,-1440.8400,25.7266, 0.3);
- CP[playerid] = 1103;
- }
- case 1103: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
- GameTextForPlayer(playerid, "Vaci mulse: 4/7", 300, 6);
- SetPlayerCheckpoint(playerid, -366.0906,-1443.6588,25.7266, 0.3);
- CP[playerid] = 1104;
- }
- case 1104: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
- GameTextForPlayer(playerid, "Vaci mulse: 5/7", 300, 6);
- SetPlayerCheckpoint(playerid, -366.4643,-1446.4628,25.7266, 0.3);
- CP[playerid] = 1105;
- }
- case 1105: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
- GameTextForPlayer(playerid, "Vaci mulse: 6/7", 300, 6);
- SetPlayerCheckpoint(playerid, -366.5691,-1449.3401,25.7266, 0.3);
- CP[playerid] = 1106;
- }
- case 1106: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- GameTextForPlayer(playerid, "Vaci mulse: 7/7", 300, 6);
- FarmVehicle1[playerid] = CreateVehicle(543, -381.7940,-1435.5277,25.7266,352.8094, 1, 1, 120);
- PutPlayerInVehicle(playerid, FarmVehicle1[playerid], 0);
- SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te la fabrica pentru a vinde laptele!");
- SetPlayerCheckpoint(playerid, -213.6517,-265.2262,1.4219, 0.6);
- CP[playerid] = 1107;
- }
- case 1107: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te inapoi la ferma pentru a fi rasplatit!");
- SetPlayerCheckpoint(playerid, -381.7940,-1435.5277,25.7266, 0.6);
- CP[playerid] = 1108;
- }
- case 1108: {
- DisablePlayerCheckpoint(playerid);
- JobWorking[playerid] = 0;
- DestroyVehicle(FarmVehicle1[playerid]);
- new amount = 10000 + random(10000);
- GivePlayerCash(playerid, amount);
- Update(playerid, pCashx);
- format(string, sizeof(string), "(Job): {ffffff}Ai castigat $%s pentru munca depusa.");
- }
- case 2000: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- SetPlayerCheckpoint(playerid, 1198.3914,-923.6666,43.0365, 0.6);
- CP[playerid] = 2001;
- }
- case 2001: {
- DisablePlayerCheckpoint(playerid);
- CP[playerid] ++;
- SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te inapoi la ferma pentru a fi rasplatit!");
- SetPlayerCheckpoint(playerid, -381.7940,-1435.5277,25.7266, 0.6);
- CP[playerid] = 2002;
- }
- case 2002: {
- DisablePlayerCheckpoint(playerid);
- JobWorking[playerid] = 0;
- DestroyVehicle(FarmVehicle2[playerid]);
- new amount = 10000 + random(15000);
- GivePlayerCash(playerid, amount);
- Update(playerid, pCashx);
- format(string, sizeof(string), "(Job): {ffffff}Ai castigat $%s pentru munca depusa.");
- }
- CMD:farm(playerid, params[], help) {
- if(PlayerToPoint(7.0, playerid, -1017.3097,-638.8459,32.0078)) {
- if(PlayerInfo[playerid][pJob] == 11) return SCM(playerid, -1, "Foloseste /fish pentru a incepe munca la acest job!");
- if(!PlayerInfo[playerid][pJob] == 1) return SCM(playerid, COLOR_GREY, "Nu ai job-ul Farmer!");
- ShowPlayerDialog(playerid, DIALOG_FARM, DIALOG_STYLE_LIST, "Farmer Work", "{FFFF00}Milk the cows\nTransport the meat to a burgr shot", "Select", "Exit");
- JobWorking[playerid] = 1;
- return 1;
- }
- case DIALOG_FARM: {
- if(!response) return 1;
- switch(listitem) {
- case 0: {
- SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te si mulge vaciile din hambar!");
- SetPlayerCheckpoint(playerid, -364.5064,-1431.5447,25.7266, 0.3);
- CP[playerid] = 1100;
- }
- case 1:{
- SCM(playerid, COLOR_NEPHRITE, "(Job): {ffffff}Du-te si livreaza carnea la Burger Shot!");
- SetPlayerCheckpoint(playerid, 816.8883,-1616.4346,13.8433, 6.0);
- FarmVehicle2[playerid] = CreateVehicle(543, -389.8579,-1443.1479,25.7266,0.4980, 1, 1, 120);
- PutPlayerInVehicle(playerid, FarmVehicle2[playerid], 0);
- CP[playerid] = 2000;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement