[Ajuda] Pedagio
#9

que posiзгo й essa ?

PHP код:
if(IsPlayerInRangeOfPoint(i7.065.922424316406, -1541.4698486328,4.5561060905457))
cruzes
65.922424316406
, -1541.4698486328,4.5561060905457
      x              y               z 
Seria melhor vocк ir e da /save no local e pegar a posiзгo x,y,z e colocar ai do que usar a posiзгo de um objeto!

tenta ae


PHP код:
//topo do gamemode
forward peda();
//public OnGameModeInit
SetTimer("peda"10001);
//final do gm
public peda()
{
for(new 
0MAX_PLAYERSi++)
{
if(
IsPlayerInRangeOfPoint(i7.0x,y,z))//troque x,y,z pela posiзгo do local aonde fica o pegadio use /save para pegar!
{
new 
string[50];
format(stringsizeof(string), "~g~Pedagio ~r~Pago: ~b~$200");
GameTextForPlayer(istring30004);
GivePlayerMoney(i, - 200);
}
}
return 
1;

Reply


Messages In This Thread
[Ajuda] Pedagio - by Geo1996 - 11.12.2011, 20:23
Re: [Ajuda] Pedagio - by Mattos - 11.12.2011, 20:34
Re: [Ajuda] Pedagio - by Geo1996 - 11.12.2011, 20:38
Re: [Ajuda] Pedagio - by Mattos - 11.12.2011, 20:45
Re: [Ajuda] Pedagio - by Kuddy - 11.12.2011, 20:47
Re: [Ajuda] Pedagio - by Geo1996 - 11.12.2011, 20:52
Re: [Ajuda] Pedagio - by tuner - 11.12.2011, 20:55
Re: [Ajuda] Pedagio - by Geo1996 - 11.12.2011, 20:56
Re: [Ajuda] Pedagio - by Bolinha_ProJogos - 11.12.2011, 20:57
Re: [Ajuda] Pedagio - by Geo1996 - 11.12.2011, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)