Quote:
Originally Posted by XK
pawn Код:
Godmode[playerid][gOn] = 1;
pawn Код:
enum godmodeinfo { Float:gHealth, Float:gArmor, gOn, }
new Godmode[MAX_PLAYER
|
nope
what he wanted was a boolean, not an integral number
Quote:
Originally Posted by BigBrainAFK
Here are all important lines:
pawn Код:
Godmode[playerid][gOn] = true;
pawn Код:
enum godmodeinfo { Float:gHealth, Float:gArmor, Bool:gOn }
new Godmode[MAX_PLAYERS][godmodeinfo];
so i get the tag missmatch error on the line where i want to set it to true
|
instead of
Bool:gOn
write
bool:gOn