calin1996
Membru-
Posts
177 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by calin1996
-
CUm schimb $ de la bani de langa HP sa pun ROn sau altcv??
-
Nu stiu cum sa fac,dar petru o masina sa fac in asa fel incat sa o poata folosi doar lideru/rank6
-
Am facut un textdraw si nu-mi apare : [pawn]#include <a_samp> /* ========================================================================== */ new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; new Text:Textdraw4; new Text:Textdraw5; new Text:Textdraw6; new Text:Textdraw7; new Text:Textdraw8; new Text:Textdraw9; new Text:Textdraw10; new Text:Textdraw11; /* ========================================================================== */ public OnFilterScriptInit() { Textdraw0 = TextDrawCreate(510.000000, 384.000000, "R"); TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 0); TextDrawLetterSize(Textdraw0, 0.490000, 1.900000); TextDrawColor(Textdraw0, 257556479); TextDrawSetOutline(Textdraw0, 1); TextDrawSetProportional(Textdraw0, 1); Textdraw1 = TextDrawCreate(523.000000, 381.000000, "e"); TextDrawBackgroundColor(Textdraw1, 255); TextDrawFont(Textdraw1, 0); TextDrawLetterSize(Textdraw1, 0.490000, 1.900000); TextDrawColor(Textdraw1, 257556479); TextDrawSetOutline(Textdraw1, 1); TextDrawSetProportional(Textdraw1, 1); Textdraw2 = TextDrawCreate(530.000000, 378.000000, "d"); TextDrawBackgroundColor(Textdraw2, 255); TextDrawFont(Textdraw2, 0); TextDrawLetterSize(Textdraw2, 0.490000, 1.900000); TextDrawColor(Textdraw2, 257556479); TextDrawSetOutline(Textdraw2, 1); TextDrawSetProportional(Textdraw2, 1); Textdraw3 = TextDrawCreate(537.000000, 376.000000, "Co"); TextDrawBackgroundColor(Textdraw3, 255); TextDrawFont(Textdraw3, 0); TextDrawLetterSize(Textdraw3, 0.490000, 1.900000); TextDrawColor(Textdraw3, -65281); TextDrawSetOutline(Textdraw3, 1); TextDrawSetProportional(Textdraw3, 1); Textdraw4 = TextDrawCreate(550.000000, 374.000000, "un"); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 0); TextDrawLetterSize(Textdraw4, 0.490000, 1.900000); TextDrawColor(Textdraw4, -65281); TextDrawSetOutline(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1); Textdraw5 = TextDrawCreate(558.000000, 375.000000, "tr"); TextDrawBackgroundColor(Textdraw5, 255); TextDrawFont(Textdraw5, 0); TextDrawLetterSize(Textdraw5, 0.490000, 1.900000); TextDrawColor(Textdraw5, -65281); TextDrawSetOutline(Textdraw5, 1); TextDrawSetProportional(Textdraw5, 1); Textdraw6 = TextDrawCreate(565.000000, 376.000000, "y"); TextDrawBackgroundColor(Textdraw6, 255); TextDrawFont(Textdraw6, 0); TextDrawLetterSize(Textdraw6, 0.490000, 1.900000); TextDrawColor(Textdraw6, -65281); TextDrawSetOutline(Textdraw6, 1); TextDrawSetProportional(Textdraw6, 1); Textdraw7 = TextDrawCreate(571.000000, 378.000000, "Rol"); TextDrawBackgroundColor(Textdraw7, 255); TextDrawFont(Textdraw7, 0); TextDrawLetterSize(Textdraw7, 0.490000, 1.900000); TextDrawColor(Textdraw7, -16776961); TextDrawSetOutline(Textdraw7, 1); TextDrawSetProportional(Textdraw7, 1); Textdraw8 = TextDrawCreate(577.000000, 381.000000, "e"); TextDrawBackgroundColor(Textdraw8, 255); TextDrawFont(Textdraw8, 0); TextDrawLetterSize(Textdraw8, 0.490000, 1.900000); TextDrawColor(Textdraw8, -16776961); TextDrawSetOutline(Textdraw8, 1); TextDrawSetProportional(Textdraw8, 1); Textdraw9 = TextDrawCreate(584.000000, 384.000000, "Play"); TextDrawBackgroundColor(Textdraw9, 255); TextDrawFont(Textdraw9, 0); TextDrawLetterSize(Textdraw9, 0.490000, 1.900000); TextDrawColor(Textdraw9, -16776961); TextDrawSetOutline(Textdraw9, 1); TextDrawSetProportional(Textdraw9, 1); Textdraw10 = TextDrawCreate(500.000000, 401.000000, "ROMANIA"); TextDrawBackgroundColor(Textdraw10, 255); TextDrawFont(Textdraw10, 3); TextDrawLetterSize(Textdraw10, 0.480000, 1.600000); TextDrawColor(Textdraw10, -10288897); TextDrawSetOutline(Textdraw10, 1); TextDrawSetProportional(Textdraw10, 1); Textdraw11 = TextDrawCreate(540.000000, 393.000000, "0.3e"); TextDrawBackgroundColor(Textdraw11, 255); TextDrawFont(Textdraw11, 2); TextDrawLetterSize(Textdraw11, 0.300000, 1.000000); TextDrawColor(Textdraw11, 257556479); TextDrawSetOutline(Textdraw11, 1); TextDrawSetProportional(Textdraw11, 1); for(new i; i < MAX_PLAYERS; i ++) { if(IsPlayerConnected(i)) { TextDrawShowForPlayer(i, Textdraw0); TextDrawShowForPlayer(i, Textdraw1); TextDrawShowForPlayer(i, Textdraw2); TextDrawShowForPlayer(i, Textdraw3); TextDrawShowForPlayer(i, Textdraw4); TextDrawShowForPlayer(i, Textdraw5); TextDrawShowForPlayer(i, Textdraw6); TextDrawShowForPlayer(i, Textdraw7); TextDrawShowForPlayer(i, Textdraw8); TextDrawShowForPlayer(i, Textdraw9); TextDrawShowForPlayer(i, Textdraw10); TextDrawShowForPlayer(i, Textdraw11); } } return 1; } /* ========================================================================== */ public OnFilterScriptExit() { TextDrawHideForAll(Textdraw0); TextDrawDestroy(Textdraw0); TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1); TextDrawHideForAll(Textdraw2); TextDrawDestroy(Textdraw2); TextDrawHideForAll(Textdraw3); TextDrawDestroy(Textdraw3); TextDrawHideForAll(Textdraw4); TextDrawDestroy(Textdraw4); TextDrawHideForAll(Textdraw5); TextDrawDestroy(Textdraw5); TextDrawHideForAll(Textdraw6); TextDrawDestroy(Textdraw6); TextDrawHideForAll(Textdraw7); TextDrawDestroy(Textdraw7); TextDrawHideForAll(Textdraw8); TextDrawDestroy(Textdraw8); TextDrawHideForAll(Textdraw9); TextDrawDestroy(Textdraw9); TextDrawHideForAll(Textdraw10); TextDrawDestroy(Textdraw10); TextDrawHideForAll(Textdraw11); TextDrawDestroy(Textdraw11); return 1; } /* ========================================================================== */ public OnPlayerConnect(playerid) { TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); TextDrawShowForPlayer(playerid, Textdraw8); TextDrawShowForPlayer(playerid, Textdraw9); TextDrawShowForPlayer(playerid, Textdraw10); TextDrawShowForPlayer(playerid, Textdraw11); return 1; } /* ========================================================================== */[/pawn]
-
Care linii ma?? Nu inteleg,casele sunt in property.cfg,nush ce sa caut in PWN,ca nu-mi dau seama ce-mi cereti.
-
Cum pot face acest TextDraw sa-mi apara ca lam bagat la OnGameModeInit si nu apare,a little help"?
-
Nu mai stiu cum se numea,cautasem pe google.
-
Si eu caut asta,ar trebui sa se posteze un tutorial
-
Putin daca merge greu in loc sa ma duca la biz ,ma duce la case,da nush ce cod sa pun sau ce zice el
-
Sunt incepator,si era la tutoriale o faza care faci masinile pe rank,si nu merge,pot folosi masinile respective si orice comanda folosesc zice ce ar trebuisa zica cand te urci in masina " nu ai rank X pentru a conduce masina"
-
Am facut dupa tutorial si orice comanda folosita imizicea " nu poti conduce masina nu ai rankX",a little help?
-
Pe serverul meu suny 500 de case,din care 100 ocupate si 380 suspendate. Daca intru intr-un biz,interior,si este putin lag,ma da de la casele alea si pic din aer,ce as putea face in afara sa le mut?
-
Orice as scrie in chat sa apara cu litera mare si punct
calin1996 replied to calin1996's question in Arhivă probleme
Scz da nu stiam cum s ale numesc ) -
Orice as scrie in chat sa apara cu litera mare si punct
calin1996 posted a question in Arhivă probleme
Orice as scrie in chat sa apara cu litera mare si punct,am postat cam mult astazi ),dar nu prea stiu,sunt incepator -
Pana la versiunea 0.3d nu am avut probleme,oare de asta?
-
tot la fel
-
Ai lag cand deschizi rtu serv la tine in PC sau pe host?
-
Ba da,uite am postat mai sus liniile
-
[pawn] if(newkeys == KEY_SPRINT) { if(IsPlayerConnected(playerid)) { if(IsACop(playerid)) { if (PlayerToPoint(2, playerid,247.7196,75.8517,1003.6406)) { if(pdgate1check == 1) { MoveDynamicObject(pdgate1,248.1533203125, 74.9296875, 1002.640625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); //format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); //ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate1check = 0; } else { MoveDynamicObject(pdgate1,248.13235473633, 73.64102935791, 1002.640625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); //format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); //ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate1check = 1; } } else if (PlayerToPoint(2, playerid,246.3366,72.1690,1003.6406)) { if(pdgate2check == 1) { MoveDynamicObject(pdgate2_2,244.9296875, 72.59375, 1002.640625, 2.0); MoveDynamicObject(pdgate2_1,247.7861328125, 72.6396484375, 1002.640625, 2.0); //GetPlayerName(playerid, sendername, sizeof(sendername)); //format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); //ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate2check = 0; } else { MoveDynamicObject(pdgate2_1,248.60148620605, 72.538047790527, 1002.6899414063, 2.0); MoveDynamicObject(pdgate2_2,244.23402404785, 72.526748657227, 1002.640625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate2check = 1; } } else if (PlayerToPoint(2, playerid,250.3857,63.3842,1003.6406)) { if(pdgate3check == 1) { MoveDynamicObject(pdgate3,250.66796875, 62.3876953125, 1002.640625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate3check = 0; } else { MoveDynamicObject(pdgate3,250.6474609375, 61.1298828125, 1002.640625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate3check = 1; } } else if (PlayerToPoint(2, playerid,226.3167,75.7066,1005.0391)) { if(pdgate4check == 1) { MoveDynamicObject(pdgate4,226.16796875, 74.9306640625, 1004.0390625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate4check = 0; } else { MoveDynamicObject(pdgate4,226.14428710938, 73.621040344238, 1004.0390625, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate4check = 1; } } else if (PlayerToPoint(2, playerid,219.9524,74.2027,1005.0391)) { if(pdgate5check == 1) { MoveDynamicObject(pdgate5,219.599609375, 74.8271484375, 1006.6759033203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate5check = 0; } else { MoveDynamicObject(pdgate5,219.59765625, 74.8232421875, 1009.1759033203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate5check = 1; } } else if (PlayerToPoint(2, playerid,259.1493,90.9155,1002.4453)) { if(pdgate6check == 1) { MoveDynamicObject(pdgate6,259.0751953125, 91.8359375, 1004.0821533203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate6check = 0; } else { MoveDynamicObject(pdgate6,259.08660888672, 91.831809997559, 1006.3321533203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate6check = 1; } } else if (PlayerToPoint(2, playerid,247.9505,86.8508,1003.6406)) { if(pdgate7check == 1) { MoveDynamicObject(pdgate7,247.962890625, 87.8359375, 1005.2774658203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate7check = 0; } else { MoveDynamicObject(pdgate7,247.9786529541, 87.8359375, 1007.5274658203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate7check = 1; } } else if (PlayerToPoint(2, playerid,222.0507,79.7589,1005.0391)) { if(pdgate8check == 1) { MoveDynamicObject(pdgate8,222.0888671875, 80.7578125, 1006.6759033203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si inchide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate8check = 0; } else { MoveDynamicObject(pdgate8,222.09368896484, 80.758964538574, 1008.9259033203, 2.0); // GetPlayerName(playerid, sendername, sizeof(sendername)); // format(string, sizeof(string), "* %s scoate un card si deschide usa cu el.", sendername); // ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); pdgate8check = 1; } } } }[/pawn]
-
[pawn]dcmd_specplayer(playerid, params[]) { new Giveplayerid, Name[256], String[256], Name2[256]; if (PlayerInfo[playerid][pAdmin] >= 1) { if (sscanf(params, "d", Giveplayerid)) SendClientMessage(playerid,COLOR_WHITE, "SERVER: /specplayer [iDjucator]"); else if (!IsPlayerConnected(Giveplayerid)) SendClientMessage(playerid,COLOR_PURPLE,"Jucatorul nu este conectat!"); else { if ( Specing[Giveplayerid] == 1 ) { SendClientMessage(playerid, COLOR_RED, " Persoana pe care vrei sa o spionezi este deja spionata sau nu este disponibila."); } else { GetPlayerName(playerid, Name, 256); GetPlayerName(Giveplayerid, Name2, 256); format(String, 256, "[%i] %s il spioneaza pe [%i] %s",playerid, Name,Giveplayerid, Name2); CallLocalFunction("ircRemoteSay", "iss", 1, "#FSE", String); Specing[playerid] = 1; } if ( !IsPlayerInAnyVehicle(Giveplayerid) ) { TogglePlayerSpectating(playerid, 1); PlayerSpectatePlayer(playerid, Giveplayerid); SetPlayerInterior(playerid,GetPlayerInterior(Giveplayerid)); SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(Giveplayerid)); return 1; } else { TogglePlayerSpectating(playerid, 1); PlayerSpectateVehicle(playerid, GetPlayerVehicleID(Giveplayerid)); SetPlayerInterior(playerid,GetPlayerInterior(Giveplayerid)); SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(Giveplayerid)); return 1; } } } return 1; } dcmd_specoff(playerid, params[]) { #pragma unused params TogglePlayerSpectating(playerid, 0); Specing[playerid] = 0; return 1; }[/pawn]
-
Nu e cu comanda,apas doar shift
-
Am o problema. Cand folosesc /specplayer nu este nici o problema,cand dau specoff ma da la cimitir ,cine ma poate ajuta?
-
Scz de 2x post,da stie cineva ce sa fac?
-
Si cam pe unde sa pun liniile care mi le-ai dat?
-
Nu stiu cum sa fac ca atunci cand cineva vrea sai dea kick/ban unui admin mai mare sa nu-l lase,nush cumsa fac. [pawn]if(strcmp(cmd, "/kick", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "UTILIZEAZA: /kick [iDJucator/PARTEdinNUME] [motiv]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[900]; 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, "UTILIZEAZA: /kick [iDJucator/PARTEdinNUME] [motiv]"); return 1; } new year, month,day; getdate(year, month, day); format(string, sizeof(string), "AdmCmd: %s a primit kick de la %s, Motiv: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); KickLog(string); format(string, sizeof(string), "AdmCmd: %s a primit kick de la %s, Motiv: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); Kick(giveplayerid); return 1; } } } else { format(string, sizeof(string), " %d nu este un jucator activ.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }[/pawn]
-
Am usi la PD si se deschid cu SHIFt si cand se deschid,una se misca cum trebuie cealalta o ia in toate partile. Daca ies si intru in PD iarasi,aman2 sunt asa cum ar trebui sa fie,cesa fac?
