Paulie 0 Odesláno: 1. Březen, 2009 Share Odesláno: 1. Březen, 2009 Zdarec potřebuju poradit. Dal sem do modu property sice všechno jde ,ale házími to 20 warningů a skoro všechny kvůli string a to mam nadefinováno jen jednou tak nwm hodím vám se jak to mam v mode #include Foward forward nemovitosti(); V Ongamemodelnit SetTimer("nemovitosti", 30000,1); PropertyMenuLoad(); AddProperty(1173.3057,1360.4501,10.9219, 25000, 2500, "Autoskola LV","Mesto"); public OnPlayerPickUpPickup(playerid, pickupid) PropertyPickup(); public OnPlayerSelectedMenuRow(playerid, row) OnPlayerSelectedPropertyMenu(playerid, row); public OnPlayerExitedMenu(playerid) TogglePlayerControllable(playerid, true); PropertyMenu[playerid] = false; A public public nemovitosti(){ PropertyPaymentsUpdate("Probehly vyplaty nemovitosti."); } pawno\include\CZproperty.inc(106) : warning 219: local variable "string" shadows a variable at a preceding level Takovej např warningů je tam snad 15 Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 1. Březen, 2009 Share Odesláno: 1. Březen, 2009 To nám ale nepomůže, protože to mam v jednom z módů uplně shodně a nic to nepíše, takže sem hoď ty warningy a řádky Link to comment Share on other sites More sharing options...
0 Paulie 0 Odesláno: 1. Březen, 2009 Author Share Odesláno: 1. Březen, 2009 pawno\include\CZproperty.inc(106) : warning 219: local variable "string" shadows a variable at a preceding level takovýhle warningy Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 1. Březen, 2009 Share Odesláno: 1. Březen, 2009 Mohl bys mi poslat pwn toho tveho nwm čeho? Link to comment Share on other sites More sharing options...
0 Paulie 0 Odesláno: 1. Březen, 2009 Author Share Odesláno: 1. Březen, 2009 Mi napiš na icq 488 055 284 Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 1. Březen, 2009 Share Odesláno: 1. Březen, 2009 Už nepište, problém byl úspěšně vyřešen :thumbup: Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 1. Březen, 2009 Share Odesláno: 1. Březen, 2009 staci smazat string z radku 106 Link to comment Share on other sites More sharing options...
0 ondra852 0 Odesláno: 1. Březen, 2009 Share Odesláno: 1. Březen, 2009 jo a vypsalo mu to asi 10 eroru a potom dalsi, sám sem to předělával, musí se to dát pod každej public a ne nahoru Link to comment Share on other sites More sharing options...
Dotaz
Paulie 0
Zdarec potřebuju poradit. Dal sem do modu property sice všechno jde ,ale házími to 20 warningů a skoro všechny kvůli string a to mam nadefinováno jen jednou tak nwm hodím vám se jak to mam v mode
Foward
V Ongamemodelnit
public OnPlayerPickUpPickup(playerid, pickupid)
public OnPlayerSelectedMenuRow(playerid, row)
public OnPlayerExitedMenu(playerid)
A public
pawno\include\CZproperty.inc(106) : warning 219: local variable "string" shadows a variable at a preceding level
Takovej např warningů je tam snad 15
Link to comment
Share on other sites
7 odpovědí na tuto otázku
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now