16.06.2014, 12:18
Why are you teaching scripters to use integers for this kind of command? Yes, it will work how-ever using floats would be far more effective, and useful. You even made the variable as a float how-ever you detect it as an integer with sscanf... Also, why are you using brackets to run one function of code?
Example:
Before:
Bad coding:
Good coding:
Example:
Before:
Bad coding:
pawn Code:
else
{
SendClientMessage(playerid, -1, "You are not authorized to use this command!");
}
pawn Code:
else SendClientMessage(playerid, -1, "You are not authorized to use this command!");