Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: tonumber
1. tonumber
Witam. Jak zrobi? tak, ?e poziom wody b?dzie si? podnosi? do okre?lonego poziomu przy wpisywaniu komendy? Chodzi mi o tonumber. Je?eli m?g?bym, prosz? o przyk?ad.


SizeVal 
= 2998
southWest_X 
= -SizeVal
southWest_Y 
= -SizeVal
southEast_X 
= SizeVal
southEast_Y 
= -SizeVal
northWest_X 
= -SizeVal
northWest_Y 
= SizeVal
northEast_X 
= SizeVal
northEast_Y 
= SizeVal

function woda( )
    
water = createWater ( southWest_X, southWest_Y, height, southEast_X, southEast_Y, height, northWest_X, northWest_Y, height, northEast_X, northEast_Y, height )
    
setWaterLevel ( height )
end
addCommandHandler
("woda", woda)