How do I spawning zombies in multiplayer?
spawnHorde(x,y,z,num)
The code only work in single player.
what should I do?
I have forgotten the problem.
It's easy to solve.
SpawnZombie = function(module, command, player, args)
if command == "SpawnZombie" then
spawnHorde(arg.x,arg.y,argz,arg.zb)
end
end
Events.OnClientCommand.Add(SpawnZombie);
Send command to the server to handle with, the problem is solved.