Speedometer peroblems
#1

ok i got this speedo code from Useful snippets: http://forum.sa-mp.com/index.php?top...97.30#msg96289

Код:
// LINE 5163
new Float:dis = floatsqroot(floatpower(floatabs(floatsub(ppos[i][0],x)),2) + floatpower(floatabs(ppos[i][1],y)),2)+floatpower(floatabs(floatsub(ppos[i][2],z)),2));
it gives me
Код:
C:\Users\Ethan\Desktop\SAMPSERVER\gamemodes\UCnR.pwn(5163) : warning 202: number of arguments does not match definition
C:\Users\Ethan\Desktop\SAMPSERVER\gamemodes\UCnR.pwn(5163) : warning 202: number of arguments does not match definition
C:\Users\Ethan\Desktop\SAMPSERVER\gamemodes\UCnR.pwn(5163) : warning 202: number of arguments does not match definition
C:\Users\Ethan\Desktop\SAMPSERVER\gamemodes\UCnR.pwn(5163) : error 001: expected token: ";", but found ")"
C:\Users\Ethan\Desktop\SAMPSERVER\gamemodes\UCnR.pwn(5163) : error 029: invalid expression, assumed zero
C:\Users\Ethan\Desktop\SAMPSERVER\gamemodes\UCnR.pwn(5163) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
can anyone please fix that line? thanks!
Reply


Messages In This Thread
Speedometer peroblems - by StrickenKid - 27.03.2009, 23:29
Re: Speedometer peroblems - by StrickenKid - 27.03.2009, 23:58
Re: Speedometer peroblems - by Jefff - 28.03.2009, 00:22
Re: Speedometer peroblems - by StrickenKid - 28.03.2009, 00:24
Re: Speedometer peroblems - by StrickenKid - 28.03.2009, 00:32
Re: Speedometer peroblems - by DMSOrg - 28.03.2009, 01:23

Forum Jump:


Users browsing this thread: 2 Guest(s)