error 008: must be a constant expression; assumed zero


Započeo .::Deki::., Januar 13, 2018, 11:40:06 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

C:\Users\Ilhan Deki Duraković\Desktop\BS-RP v1.0 by Deki\gamemodes\BS-RP.pwn(78745) : error 008: must be a constant expression; assumed zero


Kod:   new Float:vehicledistance[MAX_VOZILA] = GetDistanceBetweenPoints(NewCarX[vehicleid], NewCarY[vehicleid], NewCarZ[vehicleid], OldCarX[vehicleid], OldCarY[vehicleid], OldCarZ[vehicleid]);


Citat: Steffa poslato Januar 13, 2018, 12:04:10 POSLE PODNE
Liniju salji
new Float:vehicledistance[MAX_VOZILA] = GetDistanceBetweenPoints(NewCarX[vehicleid], NewCarY[vehicleid], NewCarZ[vehicleid], OldCarX[vehicleid], OldCarY[vehicleid], OldCarZ[vehicleid]);

new Float:vehicledistance[MAX_VOZILA]; 
vehicledistance[vehicleid] = GetDistanceBetweenPoints(NewCarX[vehicleid], NewCarY[vehicleid], NewCarZ[vehicleid], OldCarX[vehicleid], OldCarY[vehicleid], OldCarZ[vehicleid]);

Citat: Tosic ãƒ,, poslato Januar 13, 2018, 13:14:40 POSLE PODNE
new Float:vehicledistance[MAX_VOZILA]; 
vehicledistance[vehicleid] = GetDistanceBetweenPoints(NewCarX[vehicleid], NewCarY[vehicleid], NewCarZ[vehicleid], OldCarX[vehicleid], OldCarY[vehicleid], OldCarZ[vehicleid]);

Hvala <3