Jump to content
  • 0

Daca esti scripter bun ajuta-ma si pe mine


Cruncy

Question

1 answer to this question

Recommended Posts

Incearca asta :

if(strcmp(cmd, "/gmx", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

if (PlayerInfo[playerid][pAdmin] >= 1337)

{

GameModeExit();

}

else

{

SendClientMessage(playerid, COLOR_WHITE, "  You are not authorized to use that command !");

}

}

return 1;

}

Sau asta :

if(strcmp(cmd, "/restart", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

  if (PlayerInfo[playerid][pAdmin] >= 1339)

{

GameModeInitExitFunc();

}

else

{

SendClientMessage(playerid, 0x639EC5FF, "Nu esti autorizat sa folosesti aceasta comanda.");

}

}

return 1;

}

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.