[WARING] Moviendo reja
#1

Hola, yo pongo las siguientes cordenadas:

pawn Код:
new Negocio;// ariba de mi gm

// En OnGameMode
Negocio = CreateObject(980, -1928.5021972656, -271.26129150391, 42.820266723633, 0, 0, 274.41998291016); //

// Comando para abrir y cerrar mi puerta
CMD:14rp14abrir(playerid,params[]){
    #pragma unused params
     MoveObject(Negocio, -1928.501953125, -271.2607421875, 36.820266723633, 0, 0, 274.41650390625);
     SendClientMessage(playerid, COLOR_YELLOW, "Has Abierto la Puerta X");
    return 1;
}
CMD:14rp14cerrar(playerid,params[]){
    #pragma unused params
     MoveObject(Negocio, -1928.5021972656, -271.26129150391, 42.820266723633, 0, 0, 274.41998291016);
     SendClientMessage(playerid, COLOR_YELLOW, "Has Abierto la Puerta X");
    return 1;
}
Y me da el siguiente Waring:

pawn Код:
C:\Documents and Settings\Manu\Escritorio\Golden Dragon 0.3b\gamemodes\GD.pwn(11273) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Manu\Escritorio\Golden Dragon 0.3b\gamemodes\GD.pwn(11273) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Manu\Escritorio\Golden Dragon 0.3b\gamemodes\GD.pwn(11279) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Manu\Escritorio\Golden Dragon 0.3b\gamemodes\GD.pwn(11279) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.
Espero que me puedan ayudar.
Reply
#2

vamos loco, no cuesta nada mirar la wiki... MoveObject
Reply
#3

o perdona men, la proxima veo mejor
Reply
#4

Es facil, el warning esta en la coordenada, te falto una xd
Reply
#5

ahi lo logre xD, la proxima pienso mas antes de postear, perdon.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)