13.02.2012, 18:00
tipo alguns comando pega tipo /irh, /hcongelar, etc...
mas o de /hqhelper nao ta pegano alguem pode ajuda
oq ta errado aki??
por favor me ajudem
mas o de /hqhelper nao ta pegano alguem pode ajuda
oq ta errado aki??
por favor me ajudem
pawn Код:
if(strcmp(cmd, "/ah", true) == 0 || strcmp(cmd, "/ajudahelper", true) == 0 || strcmp(cmd, "/helperajuda", true) == 0)
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_WHITE, "|______________[ Ajuda Helper ]______________|");
if(PlayerInfo[playerid][pHelper] >= 1 && PlayerInfo[playerid][pHelper] <= 60)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Helper: /shelper /h /trazerh /avh /irh /hqhelper /atenderticket /vertickets");
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Portгo Helper: /phelper");
}
if(PlayerInfo[playerid][pHelper] >= 61 && PlayerInfo[playerid][pHelper] <= 150)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Helper: /shelper /h /trazerh /avh /irh /hqhelper");
SendClientMessage(playerid, COLOR_LIGHTRED,"Helper: /congelarh /descongelarh");
SendClientMessage(playerid, COLOR_LIGHTRED, "Portгo Helper: /phelper");
}
if(PlayerInfo[playerid][pHelper] >= 151 && PlayerInfo[playerid][pHelper] <= 300)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Helper: /shelper /h /trazerh /avh /irh /hqhelper");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Helper: /congelarh /descongelarh");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Helper: /desbugarh /kickh");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Portгo Helper: /phelper");
}
SendClientMessage(playerid, COR_TRIADS, "/meavalie - Oferece а um player que ele te avalie, isto aumenta seu nнvel de Helper.");
}
return true;