Jump to content

IcE.

Membru
  • Posts

    1,094
  • Joined

  • Last visited

Everything posted by IcE.

  1. IcE.

    Problema Script

    forward GateClose() public GateClose() { MoveObject(mygate,-2242.361328, 643.135803, 51.993179, 3.0); SendClientMessage(playerid, 0xFFFFFF, "The gate is closing"); return 1; } if (strcmp("/gate", cmdtext, true, 10) == 0) { MoveObject(mygate, -2242.358643, 644.206421, 59.069702, 0.0000, 3.0); SendClientMessage(playerid, 0xFFFFFF, "The gate is opening"); SetTimer("GateClose", 5000, 1);//in loc de 5000 pui la cate secunde vrei sa se inchida return 1; }
  2. nare cum sa nuti merga dai CTRL+F si scrie acolo ShowPlayerMarkers si daca apare undeva stergi sau postezi linile
  3. GRSESIT Corect e Explicatie : 0- Nu se vad pe mapa 1 - se vad pe mapa In rest e bine breavo
  4. IcE.

    As dori si eu

    1. Am vazuto pe sa-mp.com/ro nu mai stiu foloseste Search 2. if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0) // { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1337) { SendClientMessage(playerid, COLOR_RED, " you are not authorized to use that command!"); return 1; } new bool:unwanted[CAR_AMOUNT]; for(new player=0; player<MAX_PLAYERS; player++) { if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; } } for(new car = 1; car <= 268; car++) { if(!unwanted[car]) SetVehicleToRespawn(car); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* All unused cars respawned by %s.", sendername); BroadCast(COLOR_RED,string); } return 1; } 3. Click (Nam spus numele ca sa nu fac reclama)
  5. ai schimbat sfpdgatea = CreateObject(968,1544.663,-1630.896,13.430,0.0,-90.241,-90.000);//Schimba cu obiectele tale sfpdgateb = CreateObject(968,1544.663,-1630.896,13.430,0.0,-90.241,-90.000);//Schimba cu obiectele tale ?
  6. http://solidfiles.com/d/da76/ Farse dai edit cu linku asta
  7. uite aici un fs //====================(*)RondamMessageTD(*)========================== //FS by:ICEBOX //www.sa-mp.ro //====================(*)RondamMessageTD(*)========================== //==INCLUDE== #include <a_samp> //==News== new RandomMessages[][] = { "Nume1",//poti modifica "Nume2",//poti modifica }; new Text:TDARandom; //==ForwarD== forward RandomMessage(); public OnFilterScriptInit() { print("RondamMessageTD By:[SRC]ICEBOX"); //====================(*)Timer(*)============================= SetTimer("RandomMessage",3000,1); //====================(*)TextDraw(*)========================== TDARandom = TextDrawCreate(405.000000,436.000000," "); TextDrawUseBox(TDARandom,1); TextDrawBoxColor(TDARandom,0x000000ff); TextDrawTextSize(TDARandom,647.000000,0.000000); TextDrawAlignment(TDARandom,0); TextDrawBackgroundColor(TDARandom,0x00ff00cc); TextDrawFont(TDARandom,1); TextDrawLetterSize(TDARandom,0.299999,1.000000); TextDrawColor(TDARandom,0xff0000cc); TextDrawSetOutline(TDARandom,1); TextDrawSetProportional(TDARandom,1); TextDrawSetShadow(TDARandom,1); return 1; } public RandomMessage() { TextDrawSetString(TDARandom, RandomMessages[random(sizeof(RandomMessages))]); return 1; } public OnPlayerSpawn(playerid) { TextDrawShowForPlayer(playerid, TDARandom); return 1; } //====================(*)RondamMessageTD(*)========================== //FS by:ICEBOX //www.sa-mp.ro //====================(*)Sfarsit (*)===============================
  8. #include <a_samp> #define COLOR_LIGHTGREEN 0x9ACD32AA //---------------------// enum pInfo { pMember, pJob, pLeader }; new sfpdgatea; new sfpdgateb; new PlayerInfo[MAX_PLAYERS][pInfo]; //---------------------// forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z); //---------------------// public OnFilterScriptInit() { sfpdgatea = CreateObject(968,1544.663,-1630.896,13.430,0.0,-90.241,-90.000);//Schimba cu obiectele tale sfpdgateb = CreateObject(968,1544.663,-1630.896,13.430,0.0,-90.241,-90.000);//Schimba cu obiectele tale return 1; } //---------------------// public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if (newkeys==KEY_FIRE) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pJob] == 16) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(10, playerid,-1631.0670,682.4352,7.1901) || PlayerToPoint(10, playerid,-1631.0670,682.4352,7.1901)) { MoveObject(sfpdgatea, -1624.119384, 688.126037, 6.303413, 4.0); MoveObject(sfpdgateb, -1648.143554, 688.126037, 6.303413, 4.0); SendClientMessage(playerid, COLOR_LIGHTGREEN, "The gate's of SFPD has been opened and close in 5 second(s)."); SetTimer("sfpdgateaclose",3500, false); SetTimer("sfpdgatebclose",3500, false); return 1; } } } } return 1; } //---------------------// public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); //printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } } return 0; } Incerca asa
  9. noob nici nai citit tutorialu daCA il citeai vedeai ca e facut de mine nu de StuntMan reciteste tutorialu cu atentie si iti va merge
  10. 3.5/5 pfff daca pui 15 obiecte asta nu insemna ca faci o mapa :(
  11. IcE.

    [MAP]BigRace

    simpla dar buna :X +1
  12. am dat test in gm si merge dar ce face ? =))
  13. IcE.

    [MAP]Grov

    mda 4/5 obiecte puse fara rost + ca sunt dublate atata
  14. nu fa 2x post intra in LuxAdmin.pwn. Si dute la linia 85 unde scrie #define TwoRconPass "yoursecondpasshere" //Define the Second RCON Password si pune parola care o vrei ps:daca nu te uiti ce fs are )
  15. GG pt primu fs e o cafea mai scumpa )
  16. IcE.

    First Track

    nu a pus fiecare obiect a folosit RCG
  17. bravo forte frumos 4.7/5 ps:pt ce miai dat credite? Eu doar am facut tutorialu nu ma facut streameru ps2:lasale acolo )
  18. Bravo forte frumos +1 ps:sper sa mai postezi FS/GM/MAP de ale tale :X
  19. lasa am rezolvat. Acu daca dau8 sa ma bage in factiune imi zice ca nu exista
  20. Nu ai include CPLoader pus in pawno/include
  21. nu merge tot da erori :| PS: 0 e skinu de lider
  22. IcE.

    Robot car

    1.Se numeste NPC nu "robot". 2.Ai aici un link cum sa faci Click Asta caut si eu
  23. dc imi da erorile? F:\GFSERV~1\GAMEMO~1\gf3.pwn(27610) : error 032: array index out of bounds (variable "JoinPed") F:\GFSERV~1\GAMEMO~1\gf3.pwn(27610) : error 032: array index out of bounds (variable "JoinPed") Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors. Uitati linile case 12: //Grove Street { if(SelectCharPlace[playerid] == 1) { SetPlayerSkin(playerid, JoinPed[52][0]); SelectCharPlace[playerid] = 2; ChosenSkin[playerid] = JoinPed[52][0]; } else if(SelectCharPlace[playerid] == 2) { SetPlayerSkin(playerid, JoinPed[53][0]); SelectCharPlace[playerid] = 3; ChosenSkin[playerid] = JoinPed[53][0]; } else if(SelectCharPlace[playerid] == 3) { SetPlayerSkin(playerid, JoinPed[54][0]); SelectCharPlace[playerid] = 4; ChosenSkin[playerid] = JoinPed[54][0]; } else if(SelectCharPlace[playerid] == 4) { SetPlayerSkin(playerid, JoinPed[55][0]); SelectCharPlace[playerid] = 1; ChosenSkin[playerid] = JoinPed[55][0]; } else if(SelectCharPlace[playerid] == 5) { SetPlayerSkin(playerid, JoinPed[56][0]); SelectCharPlace[playerid] = 5; ChosenSkin[playerid] = JoinPed[56][0]; } } Uitati si JoinPed new JoinPed[56][1] = { {280},//POLICE_FORCE {281}, {282}, {283}, {284}, {285}, {288}, {71}, {166}, {295}, {148}, {286},//FBI/ATF {164}, {163}, {287},//NATIONAL_GUARD {285}, {70},//FIRE/AMBULANCE {274}, {275}, {276}, {277}, {278}, {279}, {258},//LA_COSA_NOSTRA {127}, {126}, {125}, {124}, {113}, {111}, {98}, {120},//YAKUZA {121}, {122}, {123}, {169}, {186}, {228}, {127},//HITMANS {165}, {186}, {93}, {141}, {148},//NEWS_REPORTERS {188}, {187}, {255},//TAXI_CAB_COMPANY {253}, {59},//DRIVING/FLYING_SCHOOL {60},//DRIVING/FLYING_SCHOOL {76},//DRIVING/FLYING_SCHOOL {150},//DRIVING/FLYING_SCHOOL {105},//grove {106}, {107}, {0} };
×
×
  • 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.