Jump to content

Arthur

Membru
  • Posts

    103
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Arthur

  1. new new Rob_time [ MAX_PLAYERS ]; La robbank pui asa [code]Rob_time [ playerid ] = 3600000; SetTimerEx("ROBBANK_timer", 1000, true, "i", playerid); dupa faci un callback forward ROBBANK_timer ( playerid ); public ROBBANK_timer ( playerid ) { Rob_time [ playerid ] -= 1000; return 1; } Mai trebuie sa adaugi in comanda verificarea daca nu a dat rob. if ( Rob_time [ playerid ] == 0 ) Si Rob_time sa se updateze si sa se salveze !
  2. #define SetPlayerPos JBC_SetPlayerPos #define GivePlayerWeapon JBC_GivePlayerWeapon #define GivePlayerMoney JBC_GivePlayerMoney unde ai JB pune JBC ! va merge. succes
  3. Arthur

    Bug rentcar

    ai prods in biz?
  4. sigur ai uitat vreo acolada :)
  5. comanda /invite, are setteam 2 doar la lideri trebuie sa dai setteam, sau ca sa fie mai usor dai la /makeleader sa dea direct setteam 2 ! PlayerInfo[playerid][pTeam] = 2; @ BuBu, nu asta era problema
  6. dati /setteam 2 , la COP
  7. Arthur

    JunkBuster

    JunkBuster 10 nu trebuie sa pui amx, porneste de la include totul #include <JunkBuster> la inceput in GM
  8. if(!strcmp(cmdtext, "/gateopen", true)) { if(PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 1) { if(IsPlayerInRangeOfPoint(playerid, 15.0, 1540.13, -1611.08, 12.94)) { SetTimerEx("CloseGate", 7000, false, "i", playerid); MoveObject(Gate, 1540.13, -1611.08, 12.94, 3.0, 0.0, 0.0, 90.00); } } return 1; }
  9. PlayerInfo[playerid][Coins] +=3; asta trebuie sa fie, ca doar pe 2 linii are PlayerInfo
  10. doar sa plagiati stiti ) oricum aratami comanda /admins, /helpers, te ajut
  11. Arthur

    Tiuning

    dai tasta "Space" nu enter
  12. :) vezi, ai grija alta data :D
  13. te-am ajutat la Discutii Scripting
  14. Arthur

    Ajutor skin

    Cauta asta PlayerInfo[playerid][pChar] , si la onplayerlogin o sa vezi
  15. Arthur

    Flood

    ai update la 0.3e R2? Incearca si asta http://forum.sa-mp.com/showthread.php?t=359695&highlight=fuckcleo
  16. greseala 2x.
  17. Daca adauga linia aia, va da la orice lider setteam 2. Invite ii da setteam 2, dar ca sa faci la makeleader ! Pune asa if(strcmp(cmd, "/makeleader", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /makeleader [playerid/PartOfName] [Number(1-18)]"); SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF}1.PD • 2.FBI • 3.NG • 4.Medic • 5. The Mafia"); SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF}6.The Triad • 7.Mayor • 8.Hitman • 9.Reporter • 10.Taxi"); SendClientMessage(playerid, 0x33CCFFAA, "{FFFFFF}11.License • 15.LSV • 16.VLA • 17.Ballas • 18.Grove "); return 1; } new para1; new level; para1 = ReturnUser(tmp); tmp = strtok(cmdtext, idx); level = strval(tmp); if(level > 18 || level < 0) { SendClientMessage(playerid, COLOR_GREY, " Dont go below number 0, or above number 18!"); return 1; } if (PlayerInfo[playerid][pAdmin] >= 1337) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { if(PlayerInfo[para1][pMember] > 0 || PlayerInfo[para1][pFMember] < 255) { SendClientMessage(playerid, COLOR_GREY, " That player is in a Faction / Family !"); return 1; } GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pLeader] = level; format(string, sizeof(string), " You have been promoted to Leader to your requested Faction by Admin %s", sendername); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " You have given %s control to run Faction Number %d.", giveplayer,level); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); if(level == 0) { PlayerInfo[para1][pChar] = 0; } else if(level == 1) { PlayerInfo[para1][pChar] = 288; PlayerInfo[para1][pTeam] = 2; } //Police Force else if(level == 2) { PlayerInfo[para1][pChar] = 164; PlayerInfo[para1][pTeam] = 2; } //FBI/ATF else if(level == 3) { PlayerInfo[para1][pChar] = 287; PlayerInfo[para1][pTeam] = 2; } //NG else if(level == 4) { PlayerInfo[para1][pChar] = 228; } //Fire/Ambulance else if(level == 5) { PlayerInfo[para1][pChar] = 113; gTeam[para1] = 5; } //Tha Mafie else if(level == 6) { PlayerInfo[para1][pChar] = 120; gTeam[para1] = 6;} //The Triads //else if(level == 7) { PlayerInfo[para1][pChar] = 147; } //Mayor else if(level == 8) { PlayerInfo[para1][pChar] = 294; } //Hitmans else if(level == 9) { PlayerInfo[para1][pChar] = 227; } //News Reporters else if(level == 10) { PlayerInfo[para1][pChar] = 61; } //Taxi Cab Company else if(level == 11) { PlayerInfo[para1][pChar] = 171; } //Driving/Flying School //else if(level == 12) { PlayerInfo[para1][pChar] = 248; } //Bikers //else if(level == 13) { PlayerInfo[para1][pChar] = 174; } //SFR //else if(level == 14) { PlayerInfo[para1][pChar] = 122; } //DNG else if(level == 15) { PlayerInfo[para1][pChar] = 110; gTeam[para1] = 15; } //Vagos else if(level == 16) { PlayerInfo[para1][pChar] = 115; gTeam[para1] = 16; } //Aztecas else if(level == 17) { PlayerInfo[para1][pChar] = 104; gTeam[para1] = 17; } //Ballas else if(level == 18) { PlayerInfo[para1][pChar] = 271; gTeam[para1] = 18; } //Grove PlayerInfo[para1][pRank] = 6; SetPlayerSkin(para1, PlayerInfo[para1][pChar]); } }//not connected } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu ai dreptul de a utiliza aceasta comanda!"); } } return 1; }
  18. new PlayerInfo[MAX_PLAYERS][pInfo]; ai asta?:)
  19. Deschide gamemodul cu pawno.exe si apoi dai Open din pawno, nu dublu click, ca sa te asiguri ca-i pawno cela de ai include-urile!
  20. http://wiki.sa-mp.com/wiki/MoveObject
  21. ai dat compile? sigur ai server.cfg gamemod-ul? si .amx in gamemodes?
  22. Arthur

    Problema

    nu arati nici un script nimic? de unde vrei sa stim ce ai tu acolo?
  23. if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14) si la FBI si la Ballas ai tot astea? ) modifica pune ID de la fbi, in rest e ok.
  24. public OnPlayerRegister.
  25. baga carbuni
×
×
  • 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.