Ignore the HasSpawnedNPCS = 1...im using it to make sure they only spawn once...ok so....as you see..this is randomly generating 30 npcs at random locations and a random rotation on a 50X50 map...but the msg...it is saying it a boolean...its saying that entity(Spawnx,Spawny,'type') is a boolean and it also says entity(Spawnx,Spawny,'name') is a boolean..and just about everything else..ive ran into this error before with the player(id,'something')...can anyone give me some information how this is boolean and how to fix it?
Forum




Getting boolean...shouldn't it be string or number
3 replies



Ignore the HasSpawnedNPCS = 1...im using it to make sure they only spawn once...ok so....as you see..this is randomly generating 30 npcs at random locations and a random rotation on a 50X50 map...but the msg...it is saying it a boolean...its saying that entity(Spawnx,Spawny,'type') is a boolean and it also says entity(Spawnx,Spawny,'name') is a boolean..and just about everything else..ive ran into this error before with the player(id,'something')...can anyone give me some information how this is boolean and how to fix it?



