Jump to content
  • 0

erori


TheDanutzelu

Question

Salut ma puteti scapa de erori

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(13) : warning 219: local variable "i" shadows a variable at a preceding level

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(38) : error 025: function heading differs from prototype

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(38) : error 029: invalid expression, assumed zero

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(40) : error 010: invalid function or declaration

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(43) : error 010: invalid function or declaration

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(45) : error 010: invalid function or declaration

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(48) : error 021: symbol already defined: "format"

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(52) : error 010: invalid function or declaration

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(54) : error 010: invalid function or declaration

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(75) : warning 219: local variable "str" shadows a variable at a preceding level

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(87) : warning 203: symbol is never used: "ReturnName"

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(87) : warning 203: symbol is never used: "i"

C:\Documents and Settings\XPPRESP3\Desktop\cmds.pwn(87) : warning 203: symbol is never used: "str"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

8 Errors.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Linile in ordinea erorilor

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

public OnPlayerCommandText(playerid, cmdtext[])

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

for(;i<MAX_PLAYERS;i++)

if(IsPlayerConnected(i))

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

return 1;

return 0;

new str[128];

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.