SA-MP Forums Archive
[HELP] Warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Warnings (/showthread.php?tid=519331)



[HELP] Warnings - monster010 - 13.06.2014

Код:
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14058) : warning 204: symbol is assigned a value that is never used: "aztecas2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14059) : warning 204: symbol is assigned a value that is never used: "aztecas3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14060) : warning 204: symbol is assigned a value that is never used: "aztecas4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14048) : warning 204: symbol is assigned a value that is never used: "ballas2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14049) : warning 204: symbol is assigned a value that is never used: "ballas3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14050) : warning 204: symbol is assigned a value that is never used: "ballas4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14142) : warning 204: symbol is assigned a value that is never used: "bmx10"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14143) : warning 204: symbol is assigned a value that is never used: "bmx11"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14144) : warning 204: symbol is assigned a value that is never used: "bmx12"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14145) : warning 204: symbol is assigned a value that is never used: "bmx13"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14146) : warning 204: symbol is assigned a value that is never used: "bmx14"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14090) : warning 204: symbol is assigned a value that is never used: "bmx2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14091) : warning 204: symbol is assigned a value that is never used: "bmx3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14092) : warning 204: symbol is assigned a value that is never used: "bmx4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14093) : warning 204: symbol is assigned a value that is never used: "bmx5"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14067) : warning 204: symbol is assigned a value that is never used: "camion2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14068) : warning 204: symbol is assigned a value that is never used: "camion3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14095) : warning 204: symbol is assigned a value that is never used: "civil1"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14104) : warning 204: symbol is assigned a value that is never used: "civil10"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14105) : warning 204: symbol is assigned a value that is never used: "civil11"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14106) : warning 204: symbol is assigned a value that is never used: "civil12"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14107) : warning 204: symbol is assigned a value that is never used: "civil13"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14110) : warning 204: symbol is assigned a value that is never used: "civil14"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14111) : warning 204: symbol is assigned a value that is never used: "civil15"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14112) : warning 204: symbol is assigned a value that is never used: "civil16"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14113) : warning 204: symbol is assigned a value that is never used: "civil17"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14114) : warning 204: symbol is assigned a value that is never used: "civil18"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14115) : warning 204: symbol is assigned a value that is never used: "civil19"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14096) : warning 204: symbol is assigned a value that is never used: "civil2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14116) : warning 204: symbol is assigned a value that is never used: "civil20"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14117) : warning 204: symbol is assigned a value that is never used: "civil21"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14118) : warning 204: symbol is assigned a value that is never used: "civil22"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14119) : warning 204: symbol is assigned a value that is never used: "civil23"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14120) : warning 204: symbol is assigned a value that is never used: "civil24"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14121) : warning 204: symbol is assigned a value that is never used: "civil25"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14122) : warning 204: symbol is assigned a value that is never used: "civil26"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14123) : warning 204: symbol is assigned a value that is never used: "civil27"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14124) : warning 204: symbol is assigned a value that is never used: "civil28"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14125) : warning 204: symbol is assigned a value that is never used: "civil29"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14097) : warning 204: symbol is assigned a value that is never used: "civil3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14098) : warning 204: symbol is assigned a value that is never used: "civil4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14099) : warning 204: symbol is assigned a value that is never used: "civil5"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14100) : warning 204: symbol is assigned a value that is never used: "civil6"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14101) : warning 204: symbol is assigned a value that is never used: "civil7"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14102) : warning 204: symbol is assigned a value that is never used: "civil8"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14103) : warning 204: symbol is assigned a value that is never used: "civil9"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14063) : warning 204: symbol is assigned a value that is never used: "dmv2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14064) : warning 204: symbol is assigned a value that is never used: "dmv3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14073) : warning 204: symbol is assigned a value that is never used: "fermier2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14043) : warning 204: symbol is assigned a value that is never used: "groove2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14044) : warning 204: symbol is assigned a value that is never used: "groove3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14045) : warning 204: symbol is assigned a value that is never used: "groove4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14076) : warning 204: symbol is assigned a value that is never used: "gunoi2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14077) : warning 204: symbol is assigned a value that is never used: "gunoi3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14031) : warning 204: symbol is assigned a value that is never used: "hitman2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14032) : warning 204: symbol is assigned a value that is never used: "hitman3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14033) : warning 204: symbol is assigned a value that is never used: "hitman4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14021) : warning 204: symbol is assigned a value that is never used: "lcn2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14022) : warning 204: symbol is assigned a value that is never used: "lcn3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14023) : warning 204: symbol is assigned a value that is never used: "lcn4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14016) : warning 204: symbol is assigned a value that is never used: "medic2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14017) : warning 204: symbol is assigned a value that is never used: "medic3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14018) : warning 204: symbol is assigned a value that is never used: "medic4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14007) : warning 204: symbol is assigned a value that is never used: "ng2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14008) : warning 204: symbol is assigned a value that is never used: "ng3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14009) : warning 204: symbol is assigned a value that is never used: "ng4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14010) : warning 204: symbol is assigned a value that is never used: "ng5"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13996) : warning 204: symbol is assigned a value that is never used: "politie10"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14133) : warning 204: symbol is assigned a value that is never used: "politie14"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14134) : warning 204: symbol is assigned a value that is never used: "politie15"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14135) : warning 204: symbol is assigned a value that is never used: "politie16"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13988) : warning 204: symbol is assigned a value that is never used: "politie2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13989) : warning 204: symbol is assigned a value that is never used: "politie3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13990) : warning 204: symbol is assigned a value that is never used: "politie4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13991) : warning 204: symbol is assigned a value that is never used: "politie5"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13992) : warning 204: symbol is assigned a value that is never used: "politie6"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13993) : warning 204: symbol is assigned a value that is never used: "politie7"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13994) : warning 204: symbol is assigned a value that is never used: "politie8"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13995) : warning 204: symbol is assigned a value that is never used: "politie9"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14161) : warning 204: symbol is assigned a value that is never used: "rentavion2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14162) : warning 204: symbol is assigned a value that is never used: "rentavion3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14165) : warning 204: symbol is assigned a value that is never used: "rentbarca2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14166) : warning 204: symbol is assigned a value that is never used: "rentbarca3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14086) : warning 204: symbol is assigned a value that is never used: "rentcar2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14087) : warning 204: symbol is assigned a value that is never used: "rentcar3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14169) : warning 204: symbol is assigned a value that is never used: "rentnrg2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14170) : warning 204: symbol is assigned a value that is never used: "rentnrg3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14171) : warning 204: symbol is assigned a value that is never used: "rentnrg4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14172) : warning 204: symbol is assigned a value that is never used: "rentnrg5"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(13999) : warning 204: symbol is assigned a value that is never used: "sri2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14000) : warning 204: symbol is assigned a value that is never used: "sri3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14001) : warning 204: symbol is assigned a value that is never used: "sri4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14002) : warning 204: symbol is assigned a value that is never used: "sri5"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14003) : warning 204: symbol is assigned a value that is never used: "sri6"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14004) : warning 204: symbol is assigned a value that is never used: "sri7"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14053) : warning 204: symbol is assigned a value that is never used: "vagos2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14054) : warning 204: symbol is assigned a value that is never used: "vagos3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14055) : warning 204: symbol is assigned a value that is never used: "vagos4"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14026) : warning 204: symbol is assigned a value that is never used: "ykz2"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14027) : warning 204: symbol is assigned a value that is never used: "ykz3"
C:\Users\ScooBy\Downloads\BigNetwork\BigNetwork\gamemodes\AB.pwn(14028) : warning 204: symbol is assigned a value that is never used: "ykz4"
But i used these in the next pawno code, for example:

pawn Код:
if(newcar >= vagos1 && newcar <= vagos5) // Vagos



Re: [HELP] Warnings - SilentSoul - 13.06.2014

You have declared several variables and you didn't use them delete them if you won't use them on the other hand they won't effect your script you can start your gamemode normally, also i see you are using bmx1 , bmx 2 etc. use an array better
pawn Код:
new bmx[13];

//later usage:
if(bmx[1] >..)



Re: [HELP] Warnings - tandytanz - 14.06.2014

#pragma unused aztecas2 ... changes aztecas2 to all your

and your code is so long,
you can make your code is simpler
if you have 21 bmx just type

pawn Код:
new bmx[21];
there will be
bmx[1]
bmx[2]
...
bmx[21]