16.09.2012, 06:40
Missing a bracket.
try this
EDIT
try this
try this
pawn Код:
Edited out.
try this
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/LSPD", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Shen Shexvedi LSPD-Shi!");
pTeam[playerid] = team_lspd;
return 1;
}
if (strcmp("/myteam", cmdtext, true, 10) == 0)
{
if(pTeam[playerid] == team_lspd)
{
SendClientMessage(playerid, COLOR_YELLOW, "Shen Xar LSPD's Officeri!");
return 1;
}
if(pTeam[playerid] == team_grove
{
SendClientMessage(playerid, COLOR_YELLOW, "Shen Ukve Xar Grove's Wevri!");
return 1;
}
}
return 1;
}