drkinder Posted February 1, 2013 Report Share Posted February 1, 2013 Am si eu o problema la factiunea news reporter.Cand vreau sa dau un news nu merge pur si simplu nu imi apare nimic sau imi spune ca nu sunt in heli sau in masina nr...Ce ar trebui sa fac in situatia asta?PS:daca trebuie sa caut in gm va rog sa imi spuneti si la ce linieMultumesc anticipat!! Link to comment Share on other sites More sharing options...
Dekker Posted February 1, 2013 Report Share Posted February 1, 2013 Ai comanda de a da news ? [email protected] - Orice mapa doriti , add me ! Link to comment Share on other sites More sharing options...
wikedx Posted February 2, 2013 Report Share Posted February 2, 2013 comanda de /news te rog Link to comment Share on other sites More sharing options...
drkinder Posted February 3, 2013 Author Report Share Posted February 3, 2013 Da asta e comanda:if(strcmp(cmd, "/news", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { new newcar = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced"); return 1; } if(newcar == 140 || newcar == 141 || newcar == 142) { GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /news [newstext]"); return 1; } if(PlayerInfo[playerid][pAdmin] == 0 || PlayerInfo[playerid][pHelper] == 0) { for(new i=0; i<MAX_ENTRY; i++) { if(!Swear[i][0]) continue; Cenzura(result,Swear[i]); } } if(FindIP(result)) /// Anti-Reclama { SendClientMessage(playerid, COLOR_RED, "You have kicked for Guardian , because you write an IP Adrees."); new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "DevilZoneBoT: {FFFF00}%s was kicked with reason: Write an IP Adreess (Reclama)",advertiser); SendClientMessageToAll(COLOR_RED,string); KickLog(string); Kick(playerid); return 1; } if(anty(result) && PlayerInfo[playerid][pAdmin] == 0 && PlayerInfo[playerid][pHelper] == 0) { new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "DevilZoneBot: {FFFF00}%s was kicked with reason: Reclama pe /news",advertiser); SendClientMessageToAll(COLOR_RED,string); Kick(playerid); return 0; } format(string, sizeof(string), "NR %s: %s", sendername, result); OOCNews(COLOR_NEWS,string); PlayerInfo[playerid][pNewsSkill] ++; if(PlayerInfo[playerid][pNewsSkill] == 50) { SendClientMessage(playerid, COLOR_YELLOW, "* Your News Reporter Skill is now Level 2, soon you are able to Fly the News Chopper and talk Live."); } else if(PlayerInfo[playerid][pNewsSkill] == 100) { SendClientMessage(playerid, COLOR_YELLOW, "* Your News Reporter Skill is now Level 3, soon you are able to Fly the News Chopper and talk Live."); } else if(PlayerInfo[playerid][pNewsSkill] == 200) { SendClientMessage(playerid, COLOR_YELLOW, "* Your News Reporter Skill is now Level 4, you can fly the News Chopper now."); } else if(PlayerInfo[playerid][pNewsSkill] == 400) { SendClientMessage(playerid, COLOR_YELLOW, "* Your News Reporter Skill is now Level 5, you can now talk Live with any person you want."); } } else { SendClientMessage(playerid, COLOR_GREY, " You are not in the News Van or Chopper !"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " You are not a News Reporter !"); } }//not connected return 1; } Link to comment Share on other sites More sharing options...
BuBu Posted February 6, 2013 Report Share Posted February 6, 2013 Comanda e okay dar cand dai /news ai incercat din masina sau din alta parte?Deoarece /news e pus doar pe masinile cu ID 140,141,142.Atunci dute in joc dai /oldcar vezi id-urile de la masini si vezi daca sunt astea, daca nu sunt acestea iale pe cele noi si inlocuiestele si cred ca vei rezolva.Daca nu reusesti revino cu un post. Link to comment Share on other sites More sharing options...
Question
drkinder
Am si eu o problema la factiunea news reporter.
Cand vreau sa dau un news nu merge pur si simplu nu imi apare nimic sau imi spune ca nu sunt in heli sau in masina nr...
Ce ar trebui sa fac in situatia asta?
PS:daca trebuie sa caut in gm va rog sa imi spuneti si la ce linie
Multumesc anticipat!!
Link to comment
Share on other sites
4 answers to this question
Recommended Posts