Errors
#1

[code]C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1399) : error 004: function "FixHour" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1552) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1724) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1937) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1941) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1953) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1957) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1961) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1965) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1969) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1973) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1977) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1989) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1993) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(1997) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2001) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2005) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2017) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2021) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2025) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2037) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2041) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2345) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2352) : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(239 : error 004: function "ProxDetector" is not implemented
C:\DOCUME~1\EA3B~1\Desktop\FREAKW~1\GAMEMO~1\DREAM W~1.PWN(2406) : error 004: function "ProxDetector" is not implemented

Compilation aborted.Pawn compiler 3.2.3664/CODE]

idk what is the problem i add this
Код:
if (strcmp("/gsfz", cmdtext, true, 10) == 0)
	{
	    if(PlayerInfo[playerid][pMember] == 1 ||PlayerInfo[playerid][pLeader] == 1)
        {
        	MoveObject(gsfgate, 2496.80004883,-1742.40002441,14.69999981, 2);
        	SendClientMessage(playerid, COLOR_WHITE, "{37F906}INFO:{FFFFFF}Go zatvorivte skladot.");
        	GetPlayerName(playerid, sendername, sizeof(sendername));
    		format(string, sizeof(string), "* %s go zatvara skladot.", sendername);
    		ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			return 1;
	    }
Код:
if(strcmp(cmd,"/lcno",true)==0)
	{
	    if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5)
	    {
			MoveObject(lcnkapija, 1263.59997559,-2046.09997559,55.40000153,9.000);
        	SendClientMessage(playerid, COLOR_WHITE, "{37F906}INFO:{FFFFFF}Ja otvorivte kapijata.");
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, sizeof(string), "* %s ja otvori bazata.", sendername);
			ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
		}
		else
		{
			SendClientMessage(playerid, COLOR_YELLOW, "Ne si clen.");
		}
		return 1;
	}
and they appear :@
Reply
#2

Quote:
Originally Posted by imnoob
Посмотреть сообщение
Код:
if (strcmp("/gsfz", cmdtext, true, 10) == 0)
	{
	    if(PlayerInfo[playerid][pMember] == 1 ||PlayerInfo[playerid][pLeader] == 1)
        {
        	MoveObject(gsfgate, 2496.80004883,-1742.40002441,14.69999981, 2);
        	SendClientMessage(playerid, COLOR_WHITE, "{37F906}INFO:{FFFFFF}Go zatvorivte skladot.");
        	GetPlayerName(playerid, sendername, sizeof(sendername));
    		format(string, sizeof(string), "* %s go zatvara skladot.", sendername);
    		ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
			return 1;
	    }
and they appear :@
Change to this..
Код:
if (strcmp("/gsfz", cmdtext, true, 10) == 0)
	{
	    if(PlayerInfo[playerid][pMember] == 1 ||PlayerInfo[playerid][pLeader] == 1)
        {
        	MoveObject(gsfgate, 2496.80004883,-1742.40002441,14.69999981, 2);
        	SendClientMessage(playerid, COLOR_WHITE, "{37F906}INFO:{FFFFFF}Go zatvorivte skladot.");
        	GetPlayerName(playerid, sendername, sizeof(sendername));
    		format(string, sizeof(string), "* %s go zatvara skladot.", sendername);
    		ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
		}
			return 1;
   	}
That "{" is not closed...
Reply
#3

LINE 1552
Quote:

public RobDone(playerid)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (PlayerToPoint(5, playerid, 2306.4878,-5.0092,26.7422))
{
SetPlayerCheckpoint(playerid, 1464.6306,-1028.3984,23.8281, 5.0);
SendClientMessage(playerid, COLOR_RED, " ** Odete pred bankata i vlezete vo kombeto **");
RobStart3[playerid] = 1;
SetTimerEx("RobDone2",90000, false, "i", playerid);
return 1;
}
}
return 0;
}

LINE 1399
Quote:

FixHour(tmphour);

LINE 1724
Quote:

if(PlayerToPoint(2.0,playerid,1008.0930,-929.5586,42.3281) || PlayerToPoint(2.0,playerid,1010.5515,-930.0757,42.3281))

LINE 1937-2005
Quote:

public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.257 || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}

public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.949 || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
{//SF
return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494, 10.525 || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6 96)
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.51 65))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,1 0.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
{//LV
return 1;
}
}
return 0;
}

public IsAtFishPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))
{//Fishplace at the bigwheel
return 1;
}
else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))

LINE 2017-2045
Quote:

if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
{//Cluckin Bell
return 1;
}
else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.507 || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.507)
{//Burgershot
return 1;
}
else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))
{//Well Stacked Pizza
return 1;
}
}
return 0;
}

public IsAtBar(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.757 || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797))
{//In grove street bar (with girlfriend), and in Havanna
return 1;
}
else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734))
{//PIG Pen
return 1;
}
}
return 0;
}

LINE 2352
Quote:

if(dialogid == STATSI) // Komanda /stats
{
if(response)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s ja gleda svojata licna karta.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
}
else
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s ja gleda svojata licna karta.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000);
}
}

LINE 2398
Quote:

ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);

2406
Quote:

ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);

FUCK THIS PROXDITECTOR AND PLAYER TO POINT HOW TO FIX THEM :@
Reply
#4

You forgot to close a bracket "}" somewhere in your script, i know it's boring, but it's the only way to fix it!
Reply
#5

well how to set "}" the script isnt finished the error is in the middle of the script :S
Reply
#6

It's usual when you don't close it to give errors like that. You just need to find it! Just count on every command/function how many bracket you have opened and if the number of the closed one's the same.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)