[Ajuda] undefined symbol "GiveDodMoney"
#1

Alguйm sabe como resolver isso ai?

undefined symbol "GiveDodMoney" <- No GM ele remove o dinheiro, jб tentei as outras GivePlayerMoney acho que й esse ele nгo remove nem adiciona..
Reply
#2

tenta -> GivePlayerGrana(playerid, -100);
Reply
#3

Quote:
Originally Posted by powerths
Посмотреть сообщение
tenta -> GivePlayerGrana(playerid, -100);
Nгo foi..
Reply
#4

mostra o source, sem ele nada feito
Reply
#5

Como assim source?
Reply
#6

a linha do codigo onde ta dando esse warning
Reply
#7

Quote:
Originally Posted by PT
Посмотреть сообщение
a linha do codigo onde ta dando esse warning
pawn Код:
if(GetPlayerState(i) != PLAYER_STATE_DRIVER || Fuel[vehicleid] >= 100.0 || GetPlayerMoney(i) < cost
                    || !IsPlayerInRangeOfPoint(i, 10.0, FuelStationPos[stationid][0], FuelStationPos[stationid][1], FuelStationPos[stationid][2]))
                    {
                        if(GetPlayerMoney(i) < cost) cost = GetPlayerMoney(i);
                        GiveDodMoney(i, -cost);
                        format(string, sizeof(string), "~r~-$%d", cost);
                        GameTextForPlayer(i, string, 2000, 3);
                        format(string, sizeof(string), "Vocк pagou $%d pelo combustivel.", cost);
                        SendClientMessage(i, COLOR_WHITE, string);
                        SetPVarInt(i, "FuelStation", 0);
                        SetPVarFloat(i, "Fuel", 0.0);
                    }
Reply
#8

Tenta:

pawn Код:
if(GetPlayerState(i) != PLAYER_STATE_DRIVER || Fuel[vehicleid] >= 100.0 || GetPlayerMoney(i) < cost
                    || !IsPlayerInRangeOfPoint(i, 10.0, FuelStationPos[stationid][0], FuelStationPos[stationid][1], FuelStationPos[stationid][2]))
                    {
                        if(GetPlayerMoney(i) < cost) cost = GetPlayerMoney(i);
                        GivePlayerMoney(i, -cost);
                        format(string, sizeof(string), "~r~-$%d", cost);
                        GameTextForPlayer(i, string, 2000, 3);
                        format(string, sizeof(string), "Vocк pagou $%d pelo combustivel.", cost);
                        SendClientMessage(i, COLOR_WHITE, string);
                        SetPVarInt(i, "FuelStation", 0);
                        SetPVarFloat(i, "Fuel", 0.0);
                    }
Reply
#9

Quote:
Originally Posted by MoonRey
Посмотреть сообщение
Tenta:

pawn Код:
if(GetPlayerState(i) != PLAYER_STATE_DRIVER || Fuel[vehicleid] >= 100.0 || GetPlayerMoney(i) < cost
                    || !IsPlayerInRangeOfPoint(i, 10.0, FuelStationPos[stationid][0], FuelStationPos[stationid][1], FuelStationPos[stationid][2]))
                    {
                        if(GetPlayerMoney(i) < cost) cost = GetPlayerMoney(i);
                        GivePlayerMoney(i, -cost);
                        format(string, sizeof(string), "~r~-$%d", cost);
                        GameTextForPlayer(i, string, 2000, 3);
                        format(string, sizeof(string), "Vocк pagou $%d pelo combustivel.", cost);
                        SendClientMessage(i, COLOR_WHITE, string);
                        SetPVarInt(i, "FuelStation", 0);
                        SetPVarFloat(i, "Fuel", 0.0);
                    }
Ele nгo remove a grana ;/
Reply
#10

Quote:
Originally Posted by powerths
Посмотреть сообщение
tenta -> GivePlayerGrana(playerid, -100);
GivePlayerGrana

EU NГO LI ISSO NAMORAL.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)