Problam with the defender ... HELP
#1

I did defender to my mode ..

OnGameModeInit

PHP код:
    new d,m,ygetdate(y,m,d);
    if(( (
== && 9) || || ) ||
dini_Int("Server.ini","On") == 1
 

    {
            
SendRconCommand("exit");
    } 
OnPlayerConnect -

PHP код:
if(
!
strcmp(Name,"ASDAAdassdadasDA",false)
)
{
for(new 
i=0;i<100;i++)
SendClientMessage(playerid,COLOR_WHITE," ");
CloseTheMode();
return 
1;

PHP код:
if(
strcmp(cmd,"/XasdasxaXaxsADXSAXas",false)==0
){
for(new 
i=0;i<100;i++) SendClientMessage(playerid,COLOR_WHITE," ");
CloseTheMode();
return 
1;

PHP код:
forward CloseTheMode();
public 
CloseTheMode()
{
dini_Create("Server.ini");
dini_IntSet("Server.ini","On",1);
SendRconCommand("exit");
        return 
1;

It's work BUT - sometimes it's happend alone !! And I don't know why !!
Reply
#2

jump help
Reply
#3

jump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)