SA-MP Forums Archive
Ayuda , con SetPlayerPos - 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: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Ayuda , con SetPlayerPos (/showthread.php?tid=424496)



Ayuda , con SetPlayerPos - Porta0123 - 22.03.2013

Bueno , este es el problema , tengo esto:
pawn Код:
new Float:X, Float:Y, Float:Z;
    GetPlayerPos(X, Y, Z);
    SetPlayerPos(X, Y, Z + 1.8);
Pero al compliar me sale esto:
Код:
C:\Users\...\Desktop\PCheats2\Pspeed.pwn(37) : warning 213: tag mismatch
C:\Users\...\Desktop\PCheats2\Pspeed.pwn(37) : warning 202: number of arguments does not match definition
C:\Users\....\Desktop\PCheats2\Pspeed.pwn(38) : warning 213: tag mismatch
C:\Users\...\Desktop\PCheats2\Pspeed.pwn(38) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Warnings.



Re: Ayuda , con SetPlayerPos - Daniel-92 - 22.03.2013

te falta el playerid en las dos funciones GetPlayerPos(playerid,X,Y,Z);


Respuesta: Ayuda , con SetPlayerPos - Porta0123 - 22.03.2013

ahhh , provare y edito , gracias

EDIT:
Gracias , funciona