Forum

> > CS2D > Scripts > Getting boolean...shouldn't it be string or number
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Getting boolean...shouldn't it be string or number

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Getting boolean...shouldn't it be string or number

KaBooMa
User Off Offline

Zitieren
Alright so im trying to do something will either...player...or...entity...and it keeps giving me comparing a number to boolean...or string to boolean..and i was wondering how this is a boolean...From information ive collected...boolean is true...or false...atleast thats how its suppose to be...Here is my coding...

Spoiler >


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?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht