16.01.2009, 11:17
flames forget the <100 this is an admin command so it dont really matter
here's the complete code for OnPlayerCommandText:
here's the complete code for OnPlayerCommandText:
Код:
if(strcmp(cmdtext,"/godmodeon",true) == 0) { SetPlayerHealth(playerid,100000.0); } if(strcmp(cmdtext,"/godmodeoff",true) == 0) { SetPlayerHealth(playerid,100.0); }