[DUVIDA] Como fazer um pedбgio
#1

Olб gente, de novo, tive procurando e nгo encontrei nada.

Dъvida й seguinte:

Como eu faзo, que quando o player passe num certo local, ele pague pedagio?

Eu jб tentei:


pawn Code:
{
  if(IsPlayerInRangeOfPoint(playerid, 7.0,1569.6971,-1607.2794,13.3828))
  {
    new string[50];
  format(string, sizeof(string), "Pegбgio pago: $200");
  GameTextForPlayer(playerid, string, 3000, 4);
    GivePlayerMoney(playerid,-200);
  }
return 1;
}

Compilou certinho, mas quando ele passa la no sitio, ele n paga pegadio. (eu pus isso no public OnPlayerPickUpPickup, talvez seja esse o erro)



Ajudem plese
Reply


Messages In This Thread
[DUVIDA] Como fazer um pedбgio - by andmeida10 - 19.02.2010, 07:16
Re: [DUVIDA] Como fazer um pedбgio - by xolp25 - 19.02.2010, 19:07
Re: [DUVIDA] Como fazer um pedбgio - by SlashPT - 19.02.2010, 20:19
Re: [DUVIDA] Como fazer um pedбgio - by Lucas_Brasil - 20.02.2010, 00:34
Re: [DUVIDA] Como fazer um pedбgio - by SlashPT - 20.02.2010, 08:32
Re: [DUVIDA] Como fazer um pedбgio - by andmeida10 - 20.02.2010, 08:41
Re: [DUVIDA] Como fazer um pedбgio - by SlashPT - 20.02.2010, 17:37
Re: [DUVIDA] Como fazer um pedбgio - by andmeida10 - 20.02.2010, 18:45
Re: [DUVIDA] Como fazer um pedбgio - by SlashPT - 21.02.2010, 10:52
Re: [DUVIDA] Como fazer um pedбgio - by xolp25 - 21.02.2010, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)