Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

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)

 

3 answers to this question

Recommended Posts

  • 0
Posted
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.

  • 0
Posted (edited)
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.