Jump to content
  • 0

Problema la compilare la gamemode-ul L-GM a lui Leonard!


Stalin_21

Question

Salut SA:MP.RO astazi am nevoie de ajutorul vostru daca ma puteti sa ma rezolvati cu erorile din descriere daca e va pot da date team viewer sau supremo doar ca sa scap de erori si sa mearga :(

 

D:\pawno\include\a_samp.inc(403) : error 021: symbol already defined: "GetPlayerName"
D:\pawno\include\a_samp.inc(404) : error 010: invalid function or declaration
D:\pawno\include\a_samp.inc(407) : error 010: invalid function or declaration
D:\pawno\include\playerzone.inc(469) : error 090: public functions may not return arrays (symbol "GetPlayerZone")
C:\Users\Andrei Gabriel Badea\Desktop\L-GM (Localhost)\Gamemode's Files\gamemodes\L-GM.pwn(20566) : error 021: symbol already defined: "GetPlayerZone"
C:\Users\Andrei Gabriel Badea\Desktop\L-GM (Localhost)\Gamemode's Files\gamemodes\L-GM.pwn(20568) : error 079: inconsistent return types (array & non-array)
C:\Users\Andrei Gabriel Badea\Desktop\L-GM (Localhost)\Gamemode's Files\gamemodes\L-GM.pwn(37515) : warning 203: symbol is never used: "PP"
C:\Users\Andrei Gabriel Badea\Desktop\L-GM (Localhost)\Gamemode's Files\gamemodes\L-GM.pwn(37515) : warning 203: symbol is never used: "nume"
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
[Finished in 67.6s]

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Spune foarte clar că in include-ul a_samp.inc este deja definită funcția GetPlayerName.

Liniile 404 și 407 trebuie postate pentru a înțelege ce se întamplă acolo. 

Din L-GM.pwn șterge GetPlayerZone , deoarece ESTE DEJA DEFINIT.

La linia 37515 șterge PP și nume că nu este folosit niciunde. 

Linia 20568 trebuie postată pentru a înțelege ce se întamplă acolo.

  • Upvote 1
public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.