warn ? :@
#1

help me about this warning
Код:
new VehNames[212][] =
{
	"Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus","Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto",
	"Taxi","Washington","Bobcat","Mr Whoopee","BF Injection","Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie","Stallion",
	"Rumpo","RC Bandit","Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder","Reefer","Tropic","Flatbed","Yankee","Caddy","Solair","Berkley's RC Van",
	"Skimmer","PCJ-600","Faggio","Freeway","RC Baron","RC Raider","Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR350","Walton","Regina",
	"Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher","Virgo","Greenwood","Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson",
	"Mesa","RC Goblin","Hotring Racer","Hotring Racer","Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike","Mountain Bike","Beagle","Cropdust","Stunt","Tanker","RoadTrain","Nebula","Majestic","Buccaneer","Shamal",
	"Hydra","FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck","Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex",
	"Vincent","Bullet","Clover","Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor","Monster","Monster","Uranus","Jester",
	"Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer","Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley",
	"Stafford","BF-400","Newsvan","Tug","Trailer","Emperor","Wayfarer","Euros","Hotdog","Club","Trailer","Trailer","Andromada","Dodo","RC Cam","Launch","Police Car (LSPD)","Police Car (SFPD)","Police Car (LVPD)","Police Ranger",
	"Picador","S.W.A.T. Van","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer","Luggage Trailer","Stair Trailer","Boxville","Farm Plow","Utility Trailer"
};
Line
Код:
new VehNames[212][] =
Reply
#2

Well what warning is it?
Reply
#3

warning 203: symbol is never used: "VehNames"
Reply
#4

Ignore it for now, it will not cause anything. Use VehNames later on to the script and the warning will be gone.
Reply
#5

hmm ok..
Help me about this warning includes
Код:
C:\Users\user\Desktop\MetLife\pawno\include\YSI\internal\..\y_scriptinit.inc(288) : warning 201: redefinition of constant/macro (symbol "OnGameModeExit")
C:\Users\user\Desktop\MetLife\pawno\include\YSI\internal\..\y_scriptinit.inc(295) : warning 201: redefinition of constant/macro (symbol "OnFilterScriptExit")
http://prntscr.com/3hzg4d
i cant find those lines..
same is this
Код:
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rz" shadows a variable at a preceding level
http://prntscr.com/3hzgon
Reply
#6

pawn Код:
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(3114) : warning 219: local variable "rz" shadows a variable at a preceding level
There are global variables names rx ry rz while there are local variables with the same name, either change the global one's or local ones your choice.
Reply
#7

i changed from rx to dx, from ry to ty and rz dont changed
look error
Код:
C:\Users\user\Desktop\MetLife\pawno\include\YSI\y_hooks/impl.inc(2861) : error 025: function heading differs from prototype
Reply
#8

And what's the line 2861 from impl.inc? It might be caused by the callback OnPlayerGiveDamage or OnPlayerTakeDamage because of the parameter "bodypart" so YSI version do not match with the samp version.
Reply
#9

Код:
public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:dx, Float:ty, Float:rz)
this is the 2861 line
Reply
#10

The parameters are correct to that line. Do you use OnPlayerEditDynamicObject callback at all? If so, check if the parameters do match.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)