Can someone help me add a mob spawn to a map? i need to know how to do this so then i can code dis city and all of that :mofo:
____
if you help ill hit your thanks button.. :D
____
if you help ill hit your thanks button.. :D
anywhere in my projectQuote:
public static void NoGuild(uint UID)
please help me with thatQuote:
public static bool NewSpawn(ushort Map, ushort XStart, ushort YStart, ushort XEnd, ushort YEnd, ushort SpawnNr, uint MobID)
{
try
{
MySqlCommand Command = new MySqlCommand("INSERT INTO mobspawns (SpawnWhatID,SpawnNr,XStart,YStart,XEnd,YEnd,Map) VALUES (" + MobID + "," + SpawnNr + "," + XStart + "," + YStart + "," + XEnd + "," + YEnd + "," + Map + ")", Connection);
Command.ExecuteNonQuery();
return true;
}
catch { return false; }
}