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:
CMD rueba(playerid, params[])
{
new Float x, Float y, Float z;
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(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new newobject = CreateObject(19440, x+2, y+2, z, 0.0, 0.0, 0.0);
EditObject(playerid, newobject);
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