Jump to content

Ayuda con zombie spawner


0xCiBeR

Recommended Posts

  • MTA Team
Posted

Hola quisiera me ayudaran como se haria un script para que con el export de zombies (createZombie) pueda spawnear un zombie en mi posicion, pero con poquito de distancia, haci no se superponen?..Gracias

function crearz(player) 
posX,posY,posZ = getElementPosition( player ) 
  
zombs = exports [ "zombies" ]:createZombie( posX+2,posY+2,posZ ) 
end 
addCommandHandler("crearz",crearz) 

DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp

 
Posted

Algun error? pusiste el script como server side?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • MTA Team
Posted

No, no da error.. :( si esta como server-side..

DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp

 
Posted

Proba creandolo justo donde estas.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • MTA Team
Posted

Ya lo intente..Tampoco funciona :/ alguna idea?

DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp

 
Posted

estas seguro que tu script de zombies se llama "zombies"?

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

Posted

slothbot ? esta que yo sepa esto no lo usa , usa el resources de zombis de slothman no ?

Admin and Owner of the Pro Chile Community :3

Posted

Probalo. Ami aveces me anda y aveces No. Nose porque

function crearz (thePlayer) 
x,y,z = getElementPosition(thePlayer) 
exports [ "zombies" ]:createZombie( x+1, y+1, z, 0, 10, 0, 0) 
end 
addCommandHandler("crear",crearz) 

------------------------------------------------------------------------------------------

My scripts

http://community.multitheftauto.com/index.php?p=resources&s=details&id=6977

http://community.multitheftauto.com/index.php?p=resources&s=details&id=7740

  • MTA Team
Posted

Me sirvio gracias, igual el problema esta en el config, el limite de zombies es lo que dificulta que salgan ._.

DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp

 
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...