Jump to content
  • 0

error


jupanu

Question

.pwn(13) : error 021: symbol already defined: "var0"
.pwn(13) : warning 206: redundant test: constant expression is non-zero
.pwn(15) : error 022: must be lvalue (non-constant)
.pwn(15) : error 035: argument type mismatch (argument 1)
.pwn(13) : warning 204: symbol is assigned a value that is never used: "var0"
.pwn(13) : warning 203: symbol is never used: "var0"
.pwn(13 -- 17) : warning 225: unreachable code
.pwn(27) : error 022: must be lvalue (non-constant)
.pwn(27) : warning 215: expression has no effect
.pwn(28) : error 022: must be lvalue (non-constant)
.pwn(28) : warning 215: expression has no effect
.pwn(34) : warning 213: tag mismatch
.pwn(38) : error 025: function heading differs from prototype
.pwn(40) : error 035: argument type mismatch (argument 2)
.pwn(47) : error 035: argument type mismatch (argument 1)
.pwn(48) : error 035: argument type mismatch (argument 3)
.pwn(68) : error 022: must be lvalue (non-constant)
.pwn(68) : warning 215: expression has no effect
.pwn(70) : error 022: must be lvalue (non-constant)
.pwn(70) : warning 215: expression has no effect
.pwn(74) : warning 213: tag mismatch
.pwn(85) : warning 203: symbol is never used: "glob1068"

Fs-ul este mai joss:

http://pastebin.com/yjAsZc6a

  • www.LcsNet.org
  • 91.233.106.13:7777
  • www.Joc-Miniclip.info

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest farse

dc ai dat deamx la un .amx al carui .pwn se gaseste pe net?

[pawn]#include <a_samp>

#include <core>

#include <float>

new Text3D:FPSt[MAX_PLAYERS];

new FPS[MAX_PLAYERS];

new syncFPS[MAX_PLAYERS];

public OnFilterScriptInit()

{

print("\n--------------------------------------");

print(" FPS        ");

print("--------------------------------------\n");

for(new i=0; i< MAX_PLAYERS;i++ )

{

FPSt=Create3DTextLabel("FPS", 0x15ff00ff, 0.0, 0.0, 0.0, 10,0);

}

return 1;

}

public OnFilterScriptExit()

{

return 1;

}

public OnPlayerConnect(playerid)

{

FPS[playerid]=0;

syncFPS[playerid]=0;

return 1;

}

public OnPlayerSpawn(playerid)

{

Attach3DTextLabelToPlayer(FPSt[playerid], playerid, 0, 0, 0.4);

return 1;

}

public OnPlayerCommandText(playerid, cmdtext[])

{

if(strcmp("/fps", cmdtext, true, 10) == 0)

{

new i = 0;

for(;i<MAX_PLAYERS;i++)

{

if(IsPlayerConnected(i))

{

    new str[256];

format(str, 256, "{FF0000}%s: {C3C3C3}%d FPS", ReturnName(i), FPS[playerid]);

SendClientMessage(playerid, 0x00000000, str);

}

}

return 1;

}

return 0;

}

public OnPlayerUpdate(playerid)

{

new drunk2 = GetPlayerDrunkLevel(playerid);

if(drunk2 < 100)

{

    SetPlayerDrunkLevel(playerid,2000);

}

else

{

    if(syncFPS[playerid] != drunk2)

    {

        new fps = syncFPS[playerid] - drunk2;

        if((fps > 0) && (fps < 200))

FPS[playerid] = fps;

syncFPS[playerid] = drunk2;

}

}

new str[128];

format(str, 128, "%d FPS\n%d Ping\n", FPS[playerid], GetPlayerPing(playerid));

Update3DTextLabelText(FPSt[playerid], 0x15ff00ff, str);

return 1;

}

ReturnName(playerid)

{

new name[25];

GetPlayerName(playerid, name, 25);

return name;

}[/pawn]

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.