[Tutorial] Setting GodMode to a player ! [Unique]
#7

Quote:
Originally Posted by Stuun
Посмотреть сообщение
Really nice.
Quote:
Originally Posted by Flori
Посмотреть сообщение
Well done.
Thanks.

Quote:
Originally Posted by Sasino97
Посмотреть сообщение
It's bracket, not brackelet

pawn Код:
else // Else, if he use that command again on that player, will sets 100 life !
    { // Open brackelet
        SetPlayerHealth(ID, 100); // Will sets to that player 100 life, for second use.
        SendClientMessage(playerid, -1, "{FF0000}AdmCmd: {15FF00}You player's Infinity Life {FFFF00}[GODMODE] [15FF00}!"); // This will saw the Admin wich writes second time /SetGodMode [ID]
        SendClientMessage(ID, -1, "{FF0000}AdmCmd: {15FF00}You don't have GodMode now !"); // This will saw the player !
    return 1; // We need to return 1, else we will get errors.
} //
And you forgot a bracket here. (before return 1)

pawn Код:
else
    {
        SetPlayerHealth(ID, 100);
        SendClientMessage(playerid, -1, "{FF0000}AdmCmd: {15FF00}You player's Infinity Life {FFFF00}[GODMODE] [15FF00}!");
        SendClientMessage(ID, -1, "{FF0000}AdmCmd: {15FF00}You don't have GodMode now !");
    }
    else
    {
        SendClientMessage(playerid, -1, "{FF0000}ERROR: {15FF00}You are not authorized to use this command !");
    }
And you can't write an 'else' twice...
The code has lots of errors, it wont work..


Besides that, good job to trying to write a tutorial !
Thanks, solved.

Quote:
Originally Posted by Arastair
Посмотреть сообщение
Woah, nice, good job.
Thanks !

Quote:
Originally Posted by Dziugsas
Посмотреть сообщение
What is so unique about it?
Nobody did this? It's first time. Did somebody else made a "/SetGodMode" command? I want to see a post like this !
Reply


Messages In This Thread
Setting GodMode to a player ! [Unique] - by HY - 09.11.2014, 16:01
Re: Setting GodMode to a player ! [Unique] - by Glossy42O - 09.11.2014, 16:04
AW: Setting GodMode to a player ! [Unique] - by Flori - 09.11.2014, 16:05
Re: Setting GodMode to a player ! [Unique] - by Sasino97 - 09.11.2014, 16:11
Re: Setting GodMode to a player ! [Unique] - by Arastair - 09.11.2014, 16:22
Re: Setting GodMode to a player ! [Unique] - by Dziugsas - 09.11.2014, 16:47
Re: Setting GodMode to a player ! [Unique] - by HY - 09.11.2014, 16:56
Re: Setting GodMode to a player ! [Unique] - by Glossy42O - 09.11.2014, 16:57
Re: Setting GodMode to a player ! [Unique] - by Arastair - 09.11.2014, 17:00
Re: Setting GodMode to a player ! [Unique] - by Sasino97 - 10.11.2014, 17:25

Forum Jump:


Users browsing this thread: 1 Guest(s)