SA-MP Forums Archive
[Ajuda] undefined symbol "GiveDodMoney" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] undefined symbol "GiveDodMoney" (/showthread.php?tid=463011)



undefined symbol "GiveDodMoney" - willttoonn - 09.09.2013

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..


Re: undefined symbol "GiveDodMoney" - powerths - 09.09.2013

tenta -> GivePlayerGrana(playerid, -100);


Re: undefined symbol "GiveDodMoney" - willttoonn - 09.09.2013

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


Re: undefined symbol "GiveDodMoney" - PT - 09.09.2013

mostra o source, sem ele nada feito


Re: undefined symbol "GiveDodMoney" - willttoonn - 09.09.2013

Como assim source?


Re: undefined symbol "GiveDodMoney" - PT - 09.09.2013

a linha do codigo onde ta dando esse warning


Re: undefined symbol "GiveDodMoney" - willttoonn - 09.09.2013

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);
                    }



Re: undefined symbol "GiveDodMoney" - MoonRey - 09.09.2013

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);
                    }



Re: undefined symbol "GiveDodMoney" - willttoonn - 09.09.2013

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 ;/


Re: undefined symbol "GiveDodMoney" - DannielCooper - 09.09.2013

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

EU NГO LI ISSO NAMORAL.