12.04.2015, 12:17
My includes
and this commands dont work.....
PHP код:
#include <a_samp>
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
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;
}