SA-MP Forums Archive
Como crear mundos virtuales - 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: Como crear mundos virtuales (/showthread.php?tid=244666)



Como crear mundos virtuales - jeanpierrevera - 28.03.2011

Hola sucede que quiero q un server q hare tener varios mundos virutales para que no se daсe el server en si si existe eso alguno q otro server tiene mundos asi no abusan cuando estan en zonas dm con armas especiales ejm: minigun y asi estaran en otro mundo y no molestaran a los otros bueno eso es todo ojala me respondan bien explicado gracias


Re: Como crear mundos virtuales - murdoxix - 28.03.2011

La verdad, no entendн lo que quieres, lo que si se es que no se crean, para setear un virtual world es
pawn Код:
SetPlayerVirtualWorld(playerid,worlid)
SUERTE


Re: Como crear mundos virtuales - jeanpierrevera - 28.03.2011

y en donde pongo eso?


Re: Como crear mundos virtuales - jeanpierrevera - 28.03.2011

en q lugar de el gamomode en One Player...?ї


Respuesta: Como crear mundos virtuales - Lunnatiicz - 28.03.2011

Eso es una funciуn, puede ser por ejemplo.

pawn Код:
if(strcmp(cmdtext"/mundo1", true) == 0)
{
 SetPlayerVirtualWorld(playerid, 15);
 SetPlayerPos(playerid, x, y, z);
 SendClientMessage(playerid, Color_Mocho, "Te has teleportado a otro mundo");
}



Re: Como crear mundos virtuales - murdoxix - 28.03.2011

Corrijo a @Lunnaticz un pequeсo error U.U
pawn Код:
if(strcmp(cmdtext"/mundo1", true) == 0)
{
 SetPlayerVirtualWorld(playerid, 15);
 SetPlayerPos(playerid, x, y, z);
 SendClientMessage(playerid, Color_Mocho, "Te has teleportado a otro mundo");
}
No es SetVirtualWorld es SetPlayerVirtualWorld XD


Respuesta: Como crear mundos virtuales - Lunnatiicz - 28.03.2011

lol, solo un player, nadie lo notarб xD Ya edito ¬¬


Re: Como crear mundos virtuales - jeanpierrevera - 28.03.2011

Muchas Gracias pero como agrego cosas a ese mundo? si se agregarlas pero como lo hago a ese mundo nuevo ї?


Respuesta: Como crear mundos virtuales - Code8976Man - 28.03.2011

Por ejemplo, si quieres que los objetos sean para X mundo, puedes agregar el id del virtualworld en los parбmetros del objeto, siempre y cuando uses streamer. Igual con pickups, coches ... hay opciones para que funcionen solo en un determinado mundo.


Re: Como crear mundos virtuales - jeanpierrevera - 28.03.2011

como agregar o saber la id de mi mundo explica bien