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]);
Liniju salji
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]);
[pawn]
new Float:vehicledistance[MAX_VOZILA];
vehicledistance[vehicleid] = GetDistanceBetweenPoints(NewCarX[vehicleid], NewCarY[vehicleid], NewCarZ[vehicleid], OldCarX[vehicleid], OldCarY[vehicleid], OldCarZ[vehicleid]);
[/pawn]
Citat: Tosic ãƒ,, poslato Januar 13, 2018, 13:14:40 POSLE PODNE
[pawn]
new Float:vehicledistance[MAX_VOZILA];
vehicledistance[vehicleid] = GetDistanceBetweenPoints(NewCarX[vehicleid], NewCarY[vehicleid], NewCarZ[vehicleid], OldCarX[vehicleid], OldCarY[vehicleid], OldCarZ[vehicleid]);
[/pawn]
Hvala <3