Jump to content
  • 0

Ma puteti ajuta?


Reset

Question

Salut, am vrut sa pun YSI\y_hooks in gamemode, l-am pus am rezolvat aia cu variabilele globale, dar imi da erorile astea:

C:\Users\NuDAUnUME\Desktop\gen NuDAUnUME\gamemodes\NuDAUnUME.pwn(288) : warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)")
C:\Users\NuDAUnUME\Desktop\gen NuDAUnUME\gamemodes\NuDAUnUME.pwn(740) : error 025: function heading differs from prototype
C:\Users\NuDAUnUME\Desktop\gen NuDAUnUME\gamemodes\NuDAUnUME.pwn(24391) : error 025: function heading differs from prototype
C:\Users\NuDAUnUME\Desktop\gen NuDAUnUME\gamemodes\NuDAUnUME.pwn(68583) : error 035: argument type mismatch (argument 2)

Linia 288:

#define                 strcpy(%0,%1,%2)                         strcat((%0[0] = '\0', %0), %1, %2) // strcpy(dest, source, length)

Linia 740:

forward OnPlayerLogin(playerid,password[]);

Linia 24391:

Este faza cu Public OnPlayerLogin

Iar linia 68583:

OnPlayerLogin(playerid,tmppass);

 

Care este situatia si cum pot rezolva?

 

mai tare e bigzone

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Acum 2 ore, AlexxAdv a spus:

Pune #define                 strcpy(%0,%1,%2)                         strcat((%0[0] = '\0', %0), %1, %2) // strcpy(dest, source, length) cu // inainte

Tu te auzi ce spui? Daca omului ii zice ca e rededinit strcpy deja sa mai bage inca una sa fie 3? Trebuie ayers cel din gm cum zice si Banditul

Link to comment
Share on other sites

  • 0
9 minutes ago, valivaly96 said:

Tu te auzi ce spui? Daca omului ii zice ca e rededinit strcpy deja sa mai bage inca una sa fie 3? Trebuie ayers cel din gm cum zice si Banditul

Citeste mai bine ce am zis.. sa puna // in fata. Ce inseamna asta? e pe VERDE toata linia => nu o ia in calcul la compilare

Edited by AlexxAdv
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.