SA-MP Forums Archive
god command help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: god command help (/showthread.php?tid=517687)



god command help - CesarLT - 06.06.2014

Fixed on own, delete this.


Re: god command help - Clad - 06.06.2014

Код:
GodeMode[playerid] = 1;
Are you sure that you did define this ?


Re: god command help - Konstantinos - 06.06.2014

pawn Код:
// global:
new GodMode[MAX_PLAYERS];

// OnPlayerConnect:
GodMode[playerid] = 0;



Re: god command help - CesarLT - 06.06.2014

Quote:
Originally Posted by Clad
Посмотреть сообщение
Код:
GodeMode[playerid] = 1;
Are you sure that you did define this ?
Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
// global:
new GodMode[MAX_PLAYERS];

// OnPlayerConnect:
GodMode[playerid] = 0;
Thanks, I just had new GodMode[MAX_PLAYERS]; on top, and mistyped GodeMode[playerid] = 0;