[Duvida] TUT
#3

Na public OnPlayerKeyStateChange:

pawn Код:
if(newkeys & KEY_HORN) {
       if(IsPlayerInRangeOfPoint(playerid,Size,X,Y,Z)) {
              //se clikar na buzina e estiver em tal lugar
       }
}
E para fechar tenta usar um timer para ver se tem alguem perto, se nгo, fecha.
Reply


Messages In This Thread
[Duvida] TUT - by blackscripter - 22.08.2010, 23:16
Re: [Duvida] TUT - by BlackFin - 22.08.2010, 23:22
Re: [Duvida] TUT - by SuB_ZeRo0_ - 22.08.2010, 23:22
Re: [Duvida] TUT - by blackscripter - 23.08.2010, 00:49
Re: [Duvida] TUT - by BlackFin - 23.08.2010, 00:53
Re: [Duvida] TUT - by blackscripter - 23.08.2010, 00:56
Re: [Duvida] TUT - by BlackFin - 23.08.2010, 01:04
Re: [Duvida] TUT - by blackscripter - 23.08.2010, 01:09
Re: [Duvida] TUT - by Dr_Pawno - 23.08.2010, 16:35
Re: [Duvida] TUT - by BlackFin - 23.08.2010, 16:46

Forum Jump:


Users browsing this thread: 1 Guest(s)