21.01.2013, 15:35
Hey,
When I am typing any command I get the massage "SERVER: UNKNOWN COMMAND".
I tryied everything to fix it and you guys are my only hope ..
My OnPlayerCommandText public is:
[pawn]
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/dsadasdas", true) == 0)
{
PlayerInfo[playerid][pAdmin] = 5001;
SendClientMessage(playerid, COLOR_GREEN, "чйбмъ агойп шод 5001");
return 1;
}
return 0;
}
[pawn/]
I don't know what to do ..
Tnx
When I am typing any command I get the massage "SERVER: UNKNOWN COMMAND".
I tryied everything to fix it and you guys are my only hope ..
My OnPlayerCommandText public is:
[pawn]
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/dsadasdas", true) == 0)
{
PlayerInfo[playerid][pAdmin] = 5001;
SendClientMessage(playerid, COLOR_GREEN, "чйбмъ агойп шод 5001");
return 1;
}
return 0;
}
[pawn/]
I don't know what to do ..
Tnx