Jump to content
  • 0

Problema erori trecere zcmd pe ycmd


Sprite_RoPlayers

Question

Buna seara.

Am si eu urmatoarele warninguri si nu stiu sa le rezolv chiar nu inteleg am facut si eu trecerea de la zcmd la ycmd.

Si pana sa fac trecerea asta nu aveam nici o eroare.

C:\pawno\include\YSI\y_hooks/impl.inc(3119) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\pawno\include\YSI\y_hooks/impl.inc(3119) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\pawno\include\YSI\y_hooks/impl.inc(3119) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\pawno\include\YSI\y_bintree.inc(378) : warning 219: local variable "right" shadows a variable at a preceding level
C:\pawno\include\YSI\y_bintree.inc(511) : warning 219: local variable "right" shadows a variable at a preceding level
C:\pawno\include\defnew.inc(389) : warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)")
C:\Users\SpriteTV\Desktop\gamemodesv\RPG ROPLAYERS\gamemodes\rpg.pwn(34764) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Warnings.
[Finished in 29.4s]

 

3119 Linia din acel include este : public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)

 

right = (data[index][E_BINTREE_TREE_RIGHT] = data[index2][E_BINTREE_TREE_RIGHT]),

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

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Acum 15 minute, Sprite_RoPlayers a spus:

Buna seara.

Am si eu urmatoarele warninguri si nu stiu sa le rezolv chiar nu inteleg am facut si eu trecerea de la zcmd la ycmd.

Si pana sa fac trecerea asta nu aveam nici o eroare.

C:\pawno\include\YSI\y_hooks/impl.inc(3119) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\pawno\include\YSI\y_hooks/impl.inc(3119) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\pawno\include\YSI\y_hooks/impl.inc(3119) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\pawno\include\YSI\y_bintree.inc(378) : warning 219: local variable "right" shadows a variable at a preceding level
C:\pawno\include\YSI\y_bintree.inc(511) : warning 219: local variable "right" shadows a variable at a preceding level
C:\pawno\include\defnew.inc(389) : warning 201: redefinition of constant/macro (symbol "strcpy(%0,%1,%2)")
C:\Users\SpriteTV\Desktop\gamemodesv\RPG ROPLAYERS\gamemodes\rpg.pwn(34764) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Warnings.
[Finished in 29.4s]

 

3119 Linia din acel include este : public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)

 

right = (data[index][E_BINTREE_TREE_RIGHT] = data[index2][E_BINTREE_TREE_RIGHT]),

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

 

Apasa ctrl + F și cauta "rz".

Asta înseamnă că variabila este definită de mai multe ori.

Link to comment
Share on other sites

  • 0
Acum 26 minute, Sprite_RoPlayers a spus:

Am rezolvat problema doar ca acu gamemode-ul nu se mai copiliaza in 20 de secunde si in 30/32 si nu inteleg dc.

Pentru ca libraria ysi e mare si are nevoie de timp

Edit: https://github.com/pawn-lang/compiler/releases/tag/v3.10.8

Daca vrei sa mearga mai repede foloseste acest compilator

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