Jump to content
  • 0

Problema Compilare:D


drkinder

Question

Deci am incercat sa mai adaug niste arme la comanda /pgun si la compilare imi da urmatoarele erori:

D:\DevilZone\gamemodes\Godfather.pwn(3099) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3103) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3115) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3119) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3123) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3127) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3131) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3135) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3139) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3151) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3155) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3159) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3163) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3167) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3179) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3183) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3187) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3199) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(3203) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(6765) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(6771) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(8302) : error 004: function "CrimInRange" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(8625) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(9192) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(10098) : error 004: function "PlayerToPoint" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(10103) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Ce ar fi de facut?

Astept sugestiile voastre:D

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

	if(dialogid == slot1)
	{
	    if(response)
		{
			if(listitem == 0)
			{
				PlayerInfo[playerid][pDGun1] = 24;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");
				OnPlayerUpdate(playerid);
				ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 1)
			{
				PlayerInfo[playerid][pDGun1] = 32;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

			}
			if(listitem == 2)
			{
			    PlayerInfo[playerid][pDGun1] = 31;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 3)
			{
				PlayerInfo[playerid][pDGun1] = 29;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 4)
			{
			    PlayerInfo[playerid][pDGun1] = 30;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 5)
			{
				PlayerInfo[playerid][pDGun1] = 33;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 6)
			{
				PlayerInfo[playerid][pDGun1] = 28;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 7)
			{
			    PlayerInfo[playerid][pDGun1] = 25;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			    if(listitem == 8)
			{
				PlayerInfo[playerid][pDGun1] = 4;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 9)
			{
				PlayerInfo[playerid][pDGun1] = 5;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 10)
			{
				PlayerInfo[playerid][pDGun1] = 6;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 11)
			{
				PlayerInfo[playerid][pDGun1] = 8;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 12)
			{
				PlayerInfo[playerid][pDGun1] = 23;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		}
		return 1;
	}
	if(dialogid == slot2)
	{
	    if(response)
		{
			if(listitem == 0)
			{
				PlayerInfo[playerid][pDGun2] = 24;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 1)
			{
				PlayerInfo[playerid][pDGun2] = 32;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 2)
			{
			    PlayerInfo[playerid][pDGun2] = 31;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 3)
			{
				PlayerInfo[playerid][pDGun2] = 29;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 4)
			{
			    PlayerInfo[playerid][pDGun2] = 30;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 5)
			{
				PlayerInfo[playerid][pDGun2] = 33;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 6)
			{
				PlayerInfo[playerid][pDGun2] = 28;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 7)
			{
			    PlayerInfo[playerid][pDGun2] = 25;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 8)
			{
				PlayerInfo[playerid][pDGun1] = 4;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 9)
			{
				PlayerInfo[playerid][pDGun1] = 5;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 10)
			{
				PlayerInfo[playerid][pDGun1] = 6;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 11)
			{
				PlayerInfo[playerid][pDGun1] = 8;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 12)
			{
				PlayerInfo[playerid][pDGun1] = 23;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
		}
		return 1;
	}
	if(dialogid == slot3)
	{
	    if(response)
		{
			if(listitem == 0)
			{
				PlayerInfo[playerid][pDGun3] = 24;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 1)
			{
				PlayerInfo[playerid][pDGun3] = 32;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 2)
			{
			    PlayerInfo[playerid][pDGun3] = 31;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 3)
			{
				PlayerInfo[playerid][pDGun3] = 29;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 4)
			{
			    PlayerInfo[playerid][pDGun3] = 30;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");
				OnPlayerUpdate(playerid);
			}
			if(listitem == 5)
			{
				PlayerInfo[playerid][pDGun3] = 33;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 6)
			{
				PlayerInfo[playerid][pDGun3] = 28;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 7)
			{
			    PlayerInfo[playerid][pDGun3] = 25;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 8)
			{
				PlayerInfo[playerid][pDGun1] = 4;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 9)
			{
				PlayerInfo[playerid][pDGun1] = 5;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 10)
			{
				PlayerInfo[playerid][pDGun1] = 6;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 11)
			{
				PlayerInfo[playerid][pDGun1] = 8;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 12)
			{
				PlayerInfo[playerid][pDGun1] = 23;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
		}
		return 1;
	}
	if(dialogid == slot4)
	{
	    if(response)
		{
			if(listitem == 0)
			{
				PlayerInfo[playerid][pDGun4] = 24;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 1)
			{
				PlayerInfo[playerid][pDGun4] = 32;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 2)
			{
			    PlayerInfo[playerid][pDGun4] = 31;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 3)
			{
				PlayerInfo[playerid][pDGun4] = 29;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 4)
			{
			    PlayerInfo[playerid][pDGun4] = 30;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 5)
			{
				PlayerInfo[playerid][pDGun4] = 33;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 6)
			{
				PlayerInfo[playerid][pDGun4] = 28;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 7)
			{
			    PlayerInfo[playerid][pDGun4] = 25;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 8)
			{
				PlayerInfo[playerid][pDGun1] = 4;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 9)
			{
				PlayerInfo[playerid][pDGun1] = 5;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 10)
		  	{
				PlayerInfo[playerid][pDGun1] = 6;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 11)
			{
				PlayerInfo[playerid][pDGun1] = 8;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 12)
			{
				PlayerInfo[playerid][pDGun1] = 23;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
		}
		return 1;
	}
	if(dialogid == slot5)
	{
	    if(response)
		{
			if(listitem == 0)
			{
				PlayerInfo[playerid][pDGun5] = 24;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 1)
			{
				PlayerInfo[playerid][pDGun5] = 32;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 2)
			{
			    PlayerInfo[playerid][pDGun5] = 31;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 3)
			{
				PlayerInfo[playerid][pDGun5] = 29;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 4)
			{
			    PlayerInfo[playerid][pDGun5] = 30;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 5)
			{
				PlayerInfo[playerid][pDGun5] = 33;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");
				OnPlayerUpdate(playerid);
				ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 6)
			{
				PlayerInfo[playerid][pDGun5] = 28;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");
				OnPlayerUpdate(playerid);
				ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
			if(listitem == 7)
			{
			    PlayerInfo[playerid][pDGun5] = 25;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");
				OnPlayerUpdate(playerid);
				ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 8)
			{
				PlayerInfo[playerid][pDGun1] = 4;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 9)
			{
				PlayerInfo[playerid][pDGun1] = 5;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 10)
			{
				PlayerInfo[playerid][pDGun1] = 6;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
	    		if(listitem == 11)
			{
				PlayerInfo[playerid][pDGun1] = 8;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
			}
		    	if(listitem == 12)
			{
				PlayerInfo[playerid][pDGun1] = 23;
				pgun[playerid] -= 1;
				SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");
				OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");
		}
		return 1;
	}

PS:8,9,10,11,12 sunt puse de mine

Link to comment
Share on other sites

uitate inca o data peste comanda ai uitat sa inchizi cateva acolade

Eroarea asta apare cand nu ai functia.

stock PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z)
{
	new Floatldposx, Floatldposy, Floatldposz;
	new Float:tempposx, Float:tempposy, Float:tempposz;
	GetPlayerPos(playerid, oldposx, oldposy, oldposz);
	tempposx = (oldposx -x);
	tempposy = (oldposy -y);
	tempposz = (oldposz -z);
	if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
	{
	return 1;
	}
	return 0;
}

Adauga asta undeva in script dar nu intr-un callback.

Link to comment
Share on other sites

imi apare asta acum

D:\DevilZone\gamemodes\Godfather.pwn(2631) : error 025: function heading differs from prototype
D:\DevilZone\gamemodes\Godfather.pwn(2635) : error 017: undefined symbol "oldposx"
D:\DevilZone\gamemodes\Godfather.pwn(2636) : error 017: undefined symbol "oldposx"
D:\DevilZone\gamemodes\Godfather.pwn(2637) : error 017: undefined symbol "oldposy"
D:\DevilZone\gamemodes\Godfather.pwn(2638) : error 017: undefined symbol "oldposz"
D:\DevilZone\gamemodes\Godfather.pwn(2633) : warning 203: symbol is never used: "Floatldposz"
D:\DevilZone\gamemodes\Godfather.pwn(2633) : warning 203: symbol is never used: "Floatldposy"
D:\DevilZone\gamemodes\Godfather.pwn(2633) : warning 203: symbol is never used: "Floatldposx"
D:\DevilZone\gamemodes\Godfather.pwn(2631) : warning 203: symbol is never used: "Float"
D:\DevilZone\gamemodes\Godfather.pwn(8316) : error 004: function "CrimInRange" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(11125) : error 017: undefined symbol "LuX_ReadPosition"
D:\DevilZone\gamemodes\Godfather.pwn(11163) : error 017: undefined symbol "GetPlayer2DZone"
D:\DevilZone\gamemodes\Godfather.pwn(13101) : error 017: undefined symbol "StripNewLine"
D:\DevilZone\gamemodes\Godfather.pwn(13141) : error 017: undefined symbol "LuX_ReadPosition"
D:\DevilZone\gamemodes\Godfather.pwn(13303) : error 004: function "LoadDynamicFactions" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(13330) : error 004: function "FixHour" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(14841) : error 004: function "FixHour" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(14878) : error 004: function "FixHour" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(15008) : error 004: function "CrimInRange" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(16015) : error 017: undefined symbol "strvalEx"
D:\DevilZone\gamemodes\Godfather.pwn(17964) : error 017: undefined symbol "strvalEx"
D:\DevilZone\gamemodes\Godfather.pwn(17969) : error 017: undefined symbol "strvalEx"
D:\DevilZone\gamemodes\Godfather.pwn(17975) : error 017: undefined symbol "strvalEx"
D:\DevilZone\gamemodes\Godfather.pwn(17979) : error 017: undefined symbol "strvalEx"
D:\DevilZone\gamemodes\Godfather.pwn(18199) : error 017: undefined symbol "dcmd_fevent"
D:\DevilZone\gamemodes\Godfather.pwn(18204) : warning 219: local variable "sendername" shadows a variable at a preceding level
D:\DevilZone\gamemodes\Godfather.pwn(18205) : error 017: undefined symbol "sscanf"
D:\DevilZone\gamemodes\Godfather.pwn(18215) : error 004: function "ReactionTest" is not implemented
D:\DevilZone\gamemodes\Godfather.pwn(18219) : warning 225: unreachable code
D:\DevilZone\gamemodes\Godfather.pwn(18219) : error 017: undefined symbol "dcmd_xgoto"
D:\DevilZone\gamemodes\Godfather.pwn(18224) : warning 219: local variable "string" shadows a variable at a preceding level
D:\DevilZone\gamemodes\Godfather.pwn(18225) : error 017: undefined symbol "sscanf"
D:\DevilZone\gamemodes\Godfather.pwn(18244) : warning 225: unreachable code
D:\DevilZone\gamemodes\Godfather.pwn(18244) : error 029: invalid expression, assumed zero

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Spune.mi sub ce linie sa adaug ce mi.ai dat tu ca poate din cauza asta e

Link to comment
Share on other sites

mah la comanda aia iti lipsesc 2 sau 3 acolade... ai uitat sa le inchizi

Uitate bine la comanda si nu mai adauga nimic pentru ca de asta iti apar erorile astea. Si tu asculti de toti care se baga inseama sa faca si ei un +1

EDIT: Uite te-am scutit de un efort sa nu iti folosesti capsorul ala prea mult ca dupa iese fum

Aici e comanda buna, inlocuieste pe cea veche cu asta si incerca sa compilezi sa vezi tot erorile alea iti dau?

[pawn]

if(dialogid == slot1)

{

    if(response)

{

if(listitem == 0)

{

PlayerInfo[playerid][pDGun1] = 24;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");

OnPlayerUpdate(playerid);

ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 1)

{

PlayerInfo[playerid][pDGun1] = 32;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 2)

{

    PlayerInfo[playerid][pDGun1] = 31;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 3)

{

PlayerInfo[playerid][pDGun1] = 29;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 4)

{

    PlayerInfo[playerid][pDGun1] = 30;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 5)

{

PlayerInfo[playerid][pDGun1] = 33;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 6)

{

PlayerInfo[playerid][pDGun1] = 28;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 7)

{

    PlayerInfo[playerid][pDGun1] = 25;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 8)

{

PlayerInfo[playerid][pDGun1] = 4;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 9)

{

PlayerInfo[playerid][pDGun1] = 5;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 10)

{

PlayerInfo[playerid][pDGun1] = 6;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 11)

{

PlayerInfo[playerid][pDGun1] = 8;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 12)

{

PlayerInfo[playerid][pDGun1] = 23;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

}

return 1;

}

if(dialogid == slot2)

{

    if(response)

{

if(listitem == 0)

{

PlayerInfo[playerid][pDGun2] = 24;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 1)

{

PlayerInfo[playerid][pDGun2] = 32;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 2)

{

    PlayerInfo[playerid][pDGun2] = 31;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 3)

{

PlayerInfo[playerid][pDGun2] = 29;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 4)

{

    PlayerInfo[playerid][pDGun2] = 30;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 5)

{

PlayerInfo[playerid][pDGun2] = 33;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 6)

{

PlayerInfo[playerid][pDGun2] = 28;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 7)

{

    PlayerInfo[playerid][pDGun2] = 25;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 8)

{

PlayerInfo[playerid][pDGun1] = 4;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 9)

{

PlayerInfo[playerid][pDGun1] = 5;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 10)

{

PlayerInfo[playerid][pDGun1] = 6;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 11)

{

PlayerInfo[playerid][pDGun1] = 8;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 12)

{

PlayerInfo[playerid][pDGun1] = 23;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

}

return 1;

}

if(dialogid == slot3)

{

    if(response)

{

if(listitem == 0)

{

PlayerInfo[playerid][pDGun3] = 24;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 1)

{

PlayerInfo[playerid][pDGun3] = 32;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 2)

{

    PlayerInfo[playerid][pDGun3] = 31;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 3)

{

PlayerInfo[playerid][pDGun3] = 29;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 4)

{

    PlayerInfo[playerid][pDGun3] = 30;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");

OnPlayerUpdate(playerid);

}

if(listitem == 5)

{

PlayerInfo[playerid][pDGun3] = 33;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 6)

{

PlayerInfo[playerid][pDGun3] = 28;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 7)

{

    PlayerInfo[playerid][pDGun3] = 25;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 8)

{

PlayerInfo[playerid][pDGun1] = 4;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 9)

{

PlayerInfo[playerid][pDGun1] = 5;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 10)

{

PlayerInfo[playerid][pDGun1] = 6;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 11)

{

PlayerInfo[playerid][pDGun1] = 8;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 12)

{

PlayerInfo[playerid][pDGun1] = 23;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

}

return 1;

}

if(dialogid == slot4)

{

    if(response)

{

if(listitem == 0)

{

PlayerInfo[playerid][pDGun4] = 24;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 1)

{

PlayerInfo[playerid][pDGun4] = 32;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 2)

{

    PlayerInfo[playerid][pDGun4] = 31;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 3)

{

PlayerInfo[playerid][pDGun4] = 29;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 4)

{

    PlayerInfo[playerid][pDGun4] = 30;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 5)

{

PlayerInfo[playerid][pDGun4] = 33;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 6)

{

PlayerInfo[playerid][pDGun4] = 28;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 7)

{

    PlayerInfo[playerid][pDGun4] = 25;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 8)

{

PlayerInfo[playerid][pDGun1] = 4;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 9)

{

PlayerInfo[playerid][pDGun1] = 5;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 10)

  {

PlayerInfo[playerid][pDGun1] = 6;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 11)

{

PlayerInfo[playerid][pDGun1] = 8;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 12)

{

PlayerInfo[playerid][pDGun1] = 23;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

}

return 1;

}

if(dialogid == slot5)

{

    if(response)

{

if(listitem == 0)

{

PlayerInfo[playerid][pDGun5] = 24;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Desert Eagle Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 1)

{

PlayerInfo[playerid][pDGun5] = 32;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Tec 9 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 2)

{

    PlayerInfo[playerid][pDGun5] = 31;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " M4 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 3)

{

PlayerInfo[playerid][pDGun5] = 29;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Mp5 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 4)

{

    PlayerInfo[playerid][pDGun5] = 30;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Ak47 Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 5)

{

PlayerInfo[playerid][pDGun5] = 33;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Country Rifle Loading...");

OnPlayerUpdate(playerid);

ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 6)

{

PlayerInfo[playerid][pDGun5] = 28;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Micro SMG Loading...");

OnPlayerUpdate(playerid);

ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

if(listitem == 7)

{

    PlayerInfo[playerid][pDGun5] = 25;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shotgun Loading...");

OnPlayerUpdate(playerid);

ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 8)

{

PlayerInfo[playerid][pDGun1] = 4;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Knife Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 9)

{

PlayerInfo[playerid][pDGun1] = 5;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Bat Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 10)

{

PlayerInfo[playerid][pDGun1] = 6;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Shovel Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 11)

{

PlayerInfo[playerid][pDGun1] = 8;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " Katana Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

    if(listitem == 12)

{

PlayerInfo[playerid][pDGun1] = 23;

pgun[playerid] -= 1;

SendClientMessage(playerid, COLOR_LIGHTGREEN, " SPistol Loading...");

OnPlayerUpdate(playerid);ShowPlayerDialog(playerid, dgunrespawn, DIALOG_STYLE_MSGBOX, " Respawn ca sa iti apara arma" , " Alege butonul ' Respawn ' ca sa primesti arma ", "Respawn" , "Not");

}

}

return 1;

}

[/pawn]

Link to comment
Share on other sites

Acum imi apar astea:

D:\DevilZone\gamemodes\Godfather.pwn(2658) : error 025: function heading differs from prototype
D:\DevilZone\gamemodes\Godfather.pwn(2662) : error 017: undefined symbol "oldposx"
D:\DevilZone\gamemodes\Godfather.pwn(2663) : error 017: undefined symbol "oldposx"
D:\DevilZone\gamemodes\Godfather.pwn(2664) : error 017: undefined symbol "oldposy"
D:\DevilZone\gamemodes\Godfather.pwn(2665) : error 017: undefined symbol "oldposz"
D:\DevilZone\gamemodes\Godfather.pwn(2660) : warning 203: symbol is never used: "Floatldposz"
D:\DevilZone\gamemodes\Godfather.pwn(2660) : warning 203: symbol is never used: "Floatldposy"
D:\DevilZone\gamemodes\Godfather.pwn(2660) : warning 203: symbol is never used: "Floatldposx"
D:\DevilZone\gamemodes\Godfather.pwn(47285) : error 021: symbol already defined: "PlayerToPoint"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

:)

Link to comment
Share on other sites

pentru asta

[pawn]D:\DevilZone\gamemodes\Godfather.pwn(47285) : error 021: symbol already defined: "PlayerToPoint"[/pawn]

trebuie sa stergi porcaria aia care ti-a dat-o Rock pentru ca ai PlayerToPoint definit de 2 ori

pentru

[pawn]D:\DevilZone\gamemodes\Godfather.pwn(2662) : error 017: undefined symbol "oldposx"

D:\DevilZone\gamemodes\Godfather.pwn(2663) : error 017: undefined symbol "oldposx"

D:\DevilZone\gamemodes\Godfather.pwn(2664) : error 017: undefined symbol "oldposy"

D:\DevilZone\gamemodes\Godfather.pwn(2665) : error 017: undefined symbol "oldposz"[/pawn]

trebuie sa definesti variabilele alea

iar pentru asta

[pawn]D:\DevilZone\gamemodes\Godfather.pwn(2660) : warning 203: symbol is never used: "Floatldposz"

D:\DevilZone\gamemodes\Godfather.pwn(2660) : warning 203: symbol is never used: "Floatldposy"

D:\DevilZone\gamemodes\Godfather.pwn(2660) : warning 203: symbol is never used: "Floatldposx"[/pawn]

mergi la liniile 2660 si stergi Floatldposz,Floatldposy,Floatldposx...cred ca toate astea sunt iintr-o linie deci stergi linia respectiva

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.