Jump to content

Reflex

Membru
  • Posts

    64
  • Joined

  • Last visited

  • Days Won

    2

Reflex last won the day on July 19 2015

Reflex had the most liked content!

1 Follower

Recent Profile Visitors

1,016 profile views

Reflex's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

7

Reputation

2

Community Answers

  1. Pentru ca ai uitat o paranteza...Fi mai atent. Poftim cum ar trebuii sa fie: if(strcmp(cmd, "/ahelp", true) == 0 || strcmp(cmd, "/ah", true) == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_GREEN,"_________________________________________________________________"); if (PlayerInfo[playerid][pAdmin] >= 1) { SendClientMessage(playerid, COLOR_GREEN, "{ff0000}» {ffd700}Trial Admin:{ffffff} /check • /checkweapons • /recon /reconoff • /kick • /ban • /goto • /bigears • /re(spawn)"); SendClientMessage(playerid, COLOR_GREEN, "{ff0000}» {ffd700}Trial Admin:{ffffff} /atransfer • /ahouse • /abiz • /freeze • /unfreeze • /mute • /showmute • /slap • /ck "); SendClientMessage(playerid, COLOR_GREEN, "{ff0000}» {ffd700}Trial Admin:{ffffff} /dn • /up • /fly • /lt • /rt • /gotom • /gotosf • /gotols • /setint • /setvw"); } if (PlayerInfo[playerid][pAdmin] >= 2) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Regular Admin:{ffffff} • /setteam • /cnn • /gethere"); } if (PlayerInfo[playerid][pAdmin] >= 3) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Super Admin:{ffffff} /entercar • /gotocar • /rtc • /getcar • /unwarn • /disarm • /disarmall"); } if (PlayerInfo[playerid][pAdmin] >= 4) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Lead Admin:{ffffff} /oldcar • /explode • /forceskin • /givegunallzone • /givedrugs"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Lead Admin:{ffffff} /repaircar /respawncar • /sethp • /setarmor • /setchamp /respawn"); } if (PlayerInfo[playerid][pAdmin] >= 1337) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Head Admin:{ffffff} /house • /houseo • /biz • /sbiz • /showsbiz"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Head Admin:{ffffff} /nooc • /cnnn • /tod • /makeircadmin • /agivelicense"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Head Admin:{ffffff} /hirecar • /cc • /jail • /fpk • /crash • /setskin • /healall "); } if (PlayerInfo[playerid][pAdmin] >= 1338) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Co Owner:{ffffff} /asellbiz • /asellsbiz • /asellhouse • /mark • /gotomark"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Co Owner:{ffffff} /stratlotto • /makegm • /prison • /getip"); } if (PlayerInfo[playerid][pAdmin] >= 1339) { SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Owner:{ffffff} /gotoxyz • /veh • /mk • /cks"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Owner:{ffffff} /givelevelall • /giverpall • /setstat • /makeadmin"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Owner:{ffffff} /money • /givemoney • /givevip • /ungivevip"); SendClientMessage(playerid, COLOR_GREEN,"{ff0000}» {ffd700}Owner:{ffffff} /cweather • /logout • /logoutall • /savemission • /loadmission"); } SendClientMessage(playerid, COLOR_GREEN,"_________________________________________________________________"); } return 1; }
  2. Adauga: stock PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z) { new Floatldposx, Floatldposy, Floatldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } return 0; }Pentru PlayerToPoint Pentru ProxDetector: forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);Pentru ClearChatBox: public ClearChatbox(playerid, lines) { if (IsPlayerConnected(playerid)) { for(new i=0;i<100;i++) SendClientMessageToAll(COLOR_WHITE," "); } return 1; }Daca deja le ai , inseamna ca ai uitat o paranteza.
  3. Foloseste include-urile din 0.3.7.
  4. Ai facut tot ce am spus eu mai sus? Copie streamer.inc in pawno/includes , compileaza din nou gamemode-ul si copie acel streamer.dll in plugins?
  5. Loading plugin: streamer FailedArata server.cfg
  6. Descarca acest plugin: CLICK Adauga streamer.so si streamer.dll in folderul plugins , iar include-ul streamer.inc il copiezi in pawno/includes, dupa care compilezi gamemode-ul. PS: Nu uita sa adaugi in server.cfg pluginul, in functie de ce folosesti: linux streamer.so , windows streamer.dll
  7. format(query, sizeof(query), "DELETE * FROM `logExecCmds` WHERE `Player` = '%s'", numejucator);Incearca asa: format(query, sizeof(query), "DELETE FROM logExecCmds WHERE Player = '%s'", numejucator);
  8. if(PlayerInfo[playerid][pAdmin] < 1 || PlayerInfo[playerid][pTrial] < 1) SendClientMessage(playerid, COLOR_GRAD1, "** Nu ai rangul administrativ necesar!");Cu: if(PlayerInfo[playerid][pAdmin] < 1 || PlayerInfo[playerid][pTrial] < 1) return SendClientMessage(playerid, COLOR_GRAD1, "** Nu ai rangul administrativ necesar!");
  9. Incearca in felul urmator: CMD:incearca(playerid, params[]) { ForceClassSelection(playerid) GivePlayerMoney(playerid, -500); // setezi tu suma de bani return 1; }
  10. Reflex

    Cumpar server

    Este gamemode-ul a doua viata, probabil uni il stiti, un server foarte bine lucrat, la pretul asta e pomana. RECOMAND!
  11. Cauta pe host, in foldere, php.ini . Uitate bine, ai sa il gasesti.
  12. Poftim: http://prntscr.com/7xyp27
  13. Intra in php.ini , si modifica upload_max_filesize = 200M
  14. La goto , modifica: if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1)Cu: if(PlayerInfo[playerid][pAdmin] < 1 || PlayerInfo[playerid][pHelper] < 1)
  15. Nu inteleg de ce vreti toti sa va deschdeti server daca nu va duce capul sa cautati pe google o astfel de eroare... Ai o problema cu spatiile, baiatul de mai sus , ti-a dat un exemplu, e usor sa deduci dupa, ce trebuie sa faci. Google: warning 217 loose identification
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.