SA-MP Forums Archive
CreateObject in game - 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: CreateObject in game (/showthread.php?tid=627285)



CreateObject in game - Mati18 - 26.01.2017

hola como andan? bueno no entiendo porque no me crea el objecto si esta todo bien creo
si me pueden ayudar les agradezco

Quote:

CMDrueba(playerid, params[])
{
new Floatx, Floaty, Floatz;
GetPlayerPos(playerid, px, py, pz);
new newobject = CreateObject(19440, px+2, py+2, pz, 0.0, 0.0, 0.0);
EditObject(playerid, newobject);
MensajeAtencion(playerid, "Creaste una seсal de transito");
return 1;
}




Respuesta: CreateObject in game - Eloy - 26.01.2017

Asн

PHP код:
CMD:prueba(playeridparams[])
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);
    new 
newobject CreateObject(19440x+2y+2z0.00.00.0);
    
EditObject(playeridnewobject);
        
MensajeAtencion(playerid"Creaste una seсal de transito");
    return 
1;

Recuerda:

Tag:Nombrevariable

Ej Float:PosX


Re: CreateObject in game - Mati18 - 26.01.2017

el nombre de la variable no tiene nada que ver amigo


Respuesta: Re: CreateObject in game - Eloy - 26.01.2017

Quote:
Originally Posted by Mati18
Посмотреть сообщение
el nombre de la variable no tiene nada que ver amigo
No, no tiene nada que ver solo el formato

Tag:NombreVariable


Respuesta: CreateObject in game - Mati18 - 26.01.2017

solucionado cierren tema