SA-MP Forums Archive
[DUV] Portхes - 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: [DUV] Portхes (/showthread.php?tid=214633)



[DUV] Portхes - JuniorArms - 21.01.2011

pawn Код:
C:\Documents and Settings\Luciano\Desktop\Nova pasta\gamemodes\WILS.pwn(616) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luciano\Desktop\Nova pasta\gamemodes\WILS.pwn(616) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luciano\Desktop\Nova pasta\gamemodes\WILS.pwn(616) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luciano\Desktop\Nova pasta\gamemodes\WILS.pwn(616) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.
Fui por o portгo para que ele se mova e da esses seguintes erros, ajuda aк.

pawn Код:
if(PlayerToPoint(15, i,988,1827.91101074,-1866.48901367,12.38583660,0.00000000,0.00000000,273.99658203)) { //o 15 й o raio que o player tem que ficar para abrir o portгo, depois do i sгo as coordenadas do portгo fexado, a mesma do create object
Essa й a linha 616.


Re: [DUV] Portхes - Xapita_Halls - 21.01.2011

pawn Код:
if(PlayerToPoint(15, i,988,1827.91101074,-1866.48901367,12.38583660,0.00000000,0.00000000,273.99658203)) { //o 15 й o raio que o player tem que ficar para abrir o portгo, depois do i sгo as coordenadas do portгo fexado, a mesma do create object
isso й aonde o player tenque tar pra abrir
n o portao fexado


Re: [DUV] Portхes - humildadeforever - 21.01.2011

acho que tem numero de mais nesse onplayertopoint '-'


Re: [DUV] Portхes - Ricop522 - 21.01.2011

pawn Код:
if(PlayerToPoint(15, i, 1827.91101074,-1866.48901367,12.38583660)) { //wtf..

Pra se mover tu usa:

MoveObject.


Re: [DUV] Portхes - humildadeforever - 21.01.2011

do ricop esta correto acho q й PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z)


Re: [DUV] Portхes - JuniorArms - 21.01.2011

pawn Код:
SetTimer("PortaoPolicial", 200, true);
portaopolicia = CreateObject(987,1549.788,-1617.988,12.547,0.0,0.0,-91.960); //createobject do objecto que vocк criou para o portгo, quando for fazer faзa ele primeiro FECHADO
Eu coloco onde eu criei o meu portгo ele normal nй?