Problem with commands......
#1

My includes
PHP код:
#include <a_samp> 
and this commands dont work.....
PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext"/help"true))
    {
        
SendClientMessage(playerid, -1"Hello i'm ADMIN! And this WORLD IS MINE! And if you want to play here, you need to follow the rules!");
        
SendClientMessage(playerid, -1"If you want to see rules go to the forum server and you will find it!");
        
SendClientMessage(playerid, -1"To see forum link type in the console /foruminfo !!!");
        
SendClientMessage(playerid, -1"If you want to talk with ME type /contacttoadmin");
        return 
1;
    }
    
    if(!
strcmp(cmdtext"/foruminfo"true))
    {
        
SendClientMessage(playerid, -1"Okay here is the link - http://gangwars-roleplay.bulgarianforum.net/");
        return 
1;
    }
    
    if(!
strcmp(cmdtext"/contacttoadmin"true))
    {
        
SendClientMessage(playerid, -1"Skype: mactavish3241");
        return 
1;
    }
    return 
0;

Reply


Messages In This Thread
Problem with commands...... - by Bulgaria - 12.04.2015, 12:17
Re: Problem with commands...... - by FernandoLight - 12.04.2015, 12:20
Re: Problem with commands...... - by Bulgaria - 12.04.2015, 12:22
Re: Problem with commands...... - by Write - 12.04.2015, 12:51
Re: Problem with commands...... - by ATGOggy - 12.04.2015, 12:56
Re: Problem with commands...... - by Threshold - 12.04.2015, 13:16
Re: Problem with commands...... - by ATGOggy - 12.04.2015, 13:18
Re: Problem with commands...... - by Bulgaria - 12.04.2015, 15:37
Re: Problem with commands...... - by Stinged - 12.04.2015, 16:36
Re: Problem with commands...... - by Bulgaria - 12.04.2015, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)