Stupid
#1

Код:
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1746) : warning 204: symbol is assigned a value that is never used: "RobbedA"
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1758) : warning 204: symbol is assigned a value that is never used: "RobbedB"
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1700) : warning 204: symbol is assigned a value that is never used: "RobbedC"
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1763) : warning 204: symbol is assigned a value that is never used: "RobbedR"
C:\Users\iphone\Desktop\SFCNR\Sfcnr Scripting\gamemodes\Sfcnr.pwn(1752) : warning 204: symbol is assigned a value that is never used: "RobbedZ"
I'm getting annoyed with these warning's :@ ive used them in onegamemodeinit() and in timers
Reply
#2

Can you show us the code?
Reply
#3

The new's
pawn Код:
new bool: RobbedR;
new bool: RobbedZ;
new bool: RobbedB;
new bool: RobbedC;
new bool: RobbedA;
Ongamemodeinit()
pawn Код:
RobbedZ = false;
    RobbedR = false;
    RobbedZ = false;
    RobbedA = false;
    RobbedB = false;
    RobbedC = false;
timer
pawn Код:
RobbedA = true;
Reply
#4

Next time use proper title for your topic or you will get warned/banned

Go to thos line and delete/comment them

RobbedA
RobbedB
RobbedC
RobbedR
RobbedZ

becose script deletect them useless/never use them
Reply
#5

I am not really sure but change the new bool: **shit here* to new *shit here* and put everything to true.
Reply
#6

This is solved, turns out i forgot the command :facepalm:
Reply
#7

Add at top of your script:

PHP код:
#pragma tabsize 0 
Reply
#8

Quote:
Originally Posted by James_Nick
Посмотреть сообщение
Add at top of your script:

PHP код:
#pragma tabsize 0 
Kurwa, what? Firstly, you should not use that thing, just make your code more clearly and learn the indentation. Secondly that pragma works different way, hiding player "un-indentationed" code.

@thefatshizms, default value of integers, booleans and other procedures is defualt set to 0/false. So you don't need to set values of boolean to false in OnGameModeInit. And secondly show your timer code where you set the boolean/s to true.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)