22.02.2014, 08:25
Hm... Some advices:
Don't use pragma tabsize: try to make your identitation better
Remove #includes that you don't even use: for example Y_INi
I have seen this into your code:
That is just an example, but i what i mean is: don't set a variable type the second types
let me exaplain:
You see? i declared the types into the enum, and when i use it the copiler is smart enough to see that i already declared the type once, so i don't need make it twice...
Anyway, good job for a first script like this
Don't use pragma tabsize: try to make your identitation better
Remove #includes that you don't even use: for example Y_INi
I have seen this into your code:
Code:
PlayerInfo[playerid][Cash] = floatstr(params...)
let me exaplain:
Code:
enum myEnum { IntVar, Float: FloatVar, StringVar [ 128 ], bool: boolVar } new PlayerInfo[MAX_PLAYERS][myEnum];
Anyway, good job for a first script like this