22.07.2011, 19:18
Hola, yo pongo las siguientes cordenadas:
Y me da el siguiente Waring:
Espero que me puedan ayudar.
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;
}
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.