Jump to content

[REZOLVAT] Error undefined symbol


Deagle
 Share

Recommended Posts

EDIT: Am citit ShowTD, nu ShowFP.

enum pVariables // (sau cum il ai tu in gamemode)
{
  ShowFP
}

 

By the way, functia e 'PlayerTextDrawSetString', nu 'playerTextDrawSetString'. (case sensitive)

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Acum 1 oră, Matt a spus:

EDIT: Am citit ShowTD, nu ShowFP.


enum pVariables // (sau cum il ai tu in gamemode)
{
  ShowFP
}

 

By the way, functia e 'PlayerTextDrawSetString', nu 'playerTextDrawSetString'. (case sensitive)

 

Am asa:

enum pInfo {
    pShowFP  // + restul
}; new playerVariables[MAX_PLAYERS][pInfo];

 

Edited by Deagle
Link to comment
Share on other sites

Acum 1 minut, Deagle a spus:

 

Am asa:

 


enum pInfo {
    pShowFP  // + restul
}; new playerVariables[MAX_PLAYERS][pInfo];

 

 

Atunci modifica in codul de l-ai pus mai sus din PlayerInfo[playerid][ShowFP] in PlayerInfo[playerid][pShowFP]

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Acum 3 minute, Matt a spus:

Atunci modifica in codul de l-ai pus mai sus din PlayerInfo[playerid][ShowFP] in PlayerInfo[playerid][pShowFP]

Merge, multumesc.

 

Imi poti spune ce sa fac sa imi apara si fps-urile? ca imi scrie -1

Link to comment
Share on other sites

Acum 2 minute, Deagle a spus:

Merge, multumesc.

 

Imi poti spune ce sa fac sa imi apara si fps-urile? ca imi scrie -1

			new drunknew = GetPlayerDrunkLevel(i);
			if (drunknew < 100) {
				SetPlayerDrunkLevel(i, 2000);
			} else {

				if(PlayerInfo[i][pDrunkLevelLast] != drunknew) {

					new wfps = PlayerInfo[i][pDrunkLevelLast] - drunknew;

					if ((wfps > 0) && (wfps < 200))
						PlayerInfo[i][pFPS] = wfps;

					PlayerInfo[i][pDrunkLevelLast] = drunknew;
				}

			}

Si trebuie sa adaugi in:

enum pInfo {
	pDrunkLevelLast,
	pFPS
}

 

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

Acum 5 minute, Matt a spus:

			new drunknew = GetPlayerDrunkLevel(i);
			if (drunknew < 100) {
				SetPlayerDrunkLevel(i, 2000);
			} else {

				if(PlayerInfo[i][pDrunkLevelLast] != drunknew) {

					new wfps = PlayerInfo[i][pDrunkLevelLast] - drunknew;

					if ((wfps > 0) && (wfps < 200))
						PlayerInfo[i][pFPS] = wfps;

					PlayerInfo[i][pDrunkLevelLast] = drunknew;
				}

			}

Si trebuie sa adaugi in:


enum pInfo {
	pDrunkLevelLast,
	pFPS
}

 

mersi.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...