Jump to content

Recommended Posts

Posted (edited)

Salut,

Tin sa precizez ca nu ma pricep la scripting dar v-as ruga frumos sa imi spuneti si mie cum pot rezolva aceste 3 warning-uri.

Multumesc!

Spoiler

C:\User\Roleplay\gamemodes\gm.pwn(21297) : warning 217: loose indentation
C:\User\Roleplay\gamemodes\gm.pwn(21298) : warning 217: loose indentation
C:\User\Roleplay\gamemodes\gm.pwn(962) : warning 204: symbol is assigned a value that is never used: "IsolationVW"
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.

 

1. GetPlayerName(playerid,name, sizeof(name));

2. if(PlayerStat[playerid][Aname] == 1) format(AdminName,sizeof(AdminName), "{FF1919}%s{FFFFFF}", name);

3. IsolationVW = 0;

 

Edited by Casio
Posted

Asta e un exemplu de warning: 

Si asta e rezolvarea: 

Warning-ul este cauzat de spatierea incorecta

  • Upvote 1
Posted

Pai dute la lnia respectiva si vezi unde spatierea este incorecta si sterge spatiul de la scris pana la marginea liniei si apoi apasa tab odata sau de doua ori(sua mai multe ori ) pana ce textul se alinieaza asa cum vezi in poza mea

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.