[Tutorial] How to create a speedometer
#7

Quote:
Originally Posted by Dwane
View Post
I will agree with System64 because it has many variables and I have already a lot.
You have a undefined symbol
pawn Code:
new sdisplay[MAX_PLAYERS]
Also, why do you use the variable like this?
pawn Code:
s3[MAX_PLAYERS];
// ---
format(s3[playerid],256,"%i MPH", s2[playerid]);
1024 bytes for this text only? Waste of memory.
An array of 32 is enough.
Although, you explained it good.
The undefined is fixed... i got this out of my GM so it was different. And about the 256, i will change it to 32
And btw Thanks for your comment
Reply


Messages In This Thread
How to create a speedometer - by thimo - 04.02.2012, 15:49
Re: How to create a speedometer - by System64 - 04.02.2012, 16:00
Re: How to create a speedometer - by thimo - 04.02.2012, 16:04
Re: How to create a speedometer - by System64 - 04.02.2012, 16:09
Re: How to create a speedometer - by thimo - 04.02.2012, 16:12
Re: How to create a speedometer - by Konstantinos - 04.02.2012, 16:12
Re: How to create a speedometer - by thimo - 04.02.2012, 16:15
Re: How to create a speedometer - by thimo - 11.02.2012, 07:05
Re: How to create a speedometer - by Littlehelper - 11.02.2012, 11:42
Re: How to create a speedometer - by parames3010 - 24.02.2012, 10:31

Forum Jump:


Users browsing this thread: 6 Guest(s)