27.07.2015, 07:51
Hello, i got one warning and then this is not working,
PHP код:
(6047) : warning 219: local variable "string" shadows a variable at a preceding level
PHP код:
{
>> new money = floatround(SweeperDistance[playerid] * MONEY_PER_METER), string[80];
format(string, sizeof(string), "~n~~n~~w~Distance Cleaned: ~b~~h~~h~%d Meters~n~~w~Earned ~g~~h~~h~$%d", SweeperDistance[playerid], money);