botz00r
Membru-
Posts
47 -
Joined
-
Last visited
Never
botz00r's Achievements
-
Asa faceam si eu, daca vroiam sa fac asa nu mai ceream suport aici.
-
Da-mi pm cu server`ul tau, poate iti dau eu tot sistemu. Functionabil !
-
Salutare, am facut integrat un mapicon intr-o comanda : [pawn] if(PlayerInfo[playerid][pLevel] < 4 ) { SetPlayerMapIcon(playerid, 15, 1892.8780,1596.8157,10.0991, 18, 0, MAPICON_GLOBAL_CHECKPOINT ); // Materials Deliver SendClientMessage ( playerid,0xFFFFFFFF, ""#INFO"[iNFO] "#ALB"Pentru ca esti incepator, ti-am setat un icon pe harta.Dute la el sa duci materialele. "); }[/pawn] [pawn] if(PlayerInfo[playerid][pLevel] < 4 ) { RemovePlayerMapIcon( playerid, 15 ); // Materials deliver }[/pawn] Merge, totul e ok. Doar ca, cand playeru da de exemplu /w sau oricare alta comanda si serveru ii trimite un raspuns tip : this player is not connected, dispare icon-map`u dupa harta.
-
Problema salvare fisier amx , va rog foarte mult ..
botz00r replied to sTk.'s question in Arhivă probleme
Esti praf sTk. )) te-ai apucat si tu de scripting? =) ) @ON, iti lipseste un include. -
ne dai si noua gm-ul ala? :grin:
-
nu l-am luat.. am modificat comanda /rentcar :-" Am rezolvat ! Dai T/C ! nu imi compila pawn ca se deschidea gm-ul cu un pawno de 3a..:)
-
nu stie asta ce inseamna "search" vorbesti singur
-
Nu se cer comenzi ! PPAAAAA !!! sa-mp.com cauta .
-
Am incercat si cum ai zis tu , tot nu merge.
-
La cateva comenzi chiar daca sunt bune primesc aceasta erroare " Server sais : Server Unknown command " Tip /lock cand iau in rent o masina , unrentcar la fel si givekey pana acum :-?? cum sa rezolv problema :-? comanda lock : if(strcmp(cmd, "/lock", true) == 0) { if(IsPlayerConnected(playerid)) { new carid; if (gTeam[playerid] == 2 || gTeam[playerid] == 1) { if(gLastCar[playerid] == 0 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle."); return 1; } else if(gLastCar[playerid] != 0 && gLastCar[playerid] != PlayerInfo[playerid][pPhousekey]+1) { if (HireCar[playerid] != gLastCar[playerid] && HireCar[playerid] != 299) { gLastDriver[HireCar[playerid]] = 300; gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); } HireCar[playerid] = gLastCar[playerid]; } } if (PlayerInfo[playerid][pPhousekey] == 255) { if(HireCar[playerid] == 299) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle."); return 1; } } carid = PlayerInfo[playerid][pPhousekey]+1; if(HireCar[playerid] != 299 && !SwitchKey[playerid]) { carid = HireCar[playerid]; } //new driver = gLastDriver[carid]; new lockstatus = gCarLock[carid]; new Float:cx,Float:cy,Float:cz; GetVehiclePos(carid, cx, cy, cz); switch (lockstatus) { case 0: { if(HireCar[playerid] == 299 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle"); return 1; } if(HireCar[playerid] == carid && !SwitchKey[playerid]) { GameTextForPlayer(playerid, "~w~Hire Vehicle ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 1; LockCar(carid); } else if (PlayerInfo[playerid][pPhousekey] == carid-1) { GameTextForPlayer(playerid, "~w~House Vehicle ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 1; LockCar(carid); return 1; } } case 1: { if(HireCar[playerid] == 299 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle"); return 1; } if(HireCar[playerid] == carid && !SwitchKey[playerid]) { GameTextForPlayer(playerid, "~w~Hire Vehicle ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 0; UnLockCar(carid); } if (PlayerInfo[playerid][pPhousekey] == carid-1) { GameTextForPlayer(playerid, "~w~House Vehicle ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); gCarLock[carid] = 0; UnLockCar(carid); return 1; } } default: { SendClientMessage(playerid, COLOR_GRAD2, " Error"); } } if(carid == 256) { SendClientMessage(playerid, COLOR_GRAD2, " You dont have a Vehicle !"); } } return 1; } unrentcar : if(strcmp(cmd, "/unrentcar", true) == 0) { if(IsPlayerConnected(playerid)) { if(HireCar[playerid] != 299) { gCarLock[HireCar[playerid]] = 0; UnLockCar(HireCar[playerid]); HireCar[playerid] = 299; GameTextForPlayer(playerid, "~w~You no longer rent a car", 5000, 3); } } return 1; } givekey : if(strcmp(cmd, "/givekey", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); new car; if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /givekey [playerid/PartOfName]"); return 1; } giveplayerid = ReturnUser(tmp); if(HireCar[playerid] == 299 && PlayerInfo[playerid][pPhousekey] == 255) { SendClientMessage(playerid, COLOR_GRAD1, " You dont have a key to give"); return 1; } else { if(HireCar[playerid] != 299 && SwitchKey[playerid] == 0) { car = HireCar[playerid]; gCarLock[car] = 0; UnLockCar(car); HireCar[playerid] = 299; } else { car = PlayerInfo[playerid][pPhousekey]+1; } } if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(ProxDetectorS(5.0, playerid, giveplayerid)) { if(HireCar[giveplayerid] != 299) { gCarLock[HireCar[giveplayerid]] = 0; UnLockCar(HireCar[giveplayerid]); } HireCar[giveplayerid] = car; GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), " You have given %s the key to your vehicle", giveplayer); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_GRAD1, string); format(string, sizeof(string), " You have recieved the key to a vehicle from %s", sendername); SendClientMessage(giveplayerid, COLOR_GRAD1, string); format(string, sizeof(string), "* %s takes out a set of keys, and tosses them to %s.", sendername ,giveplayer); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } } } } return 1; }
-
Am rezolvat , ms TzAkS ! Doar ca cum ai spus si tu am problema aia cu chat-ul de ex , daca factiunea x scrie ceva vede si factiunea y ce a scris factiunea x .. :-?? cum rezolv problema asta:-?
-
Ok.. fie cum vreti voi lasati offtopic nu pentru asta am postat
-
ba moldovene mai faci mult circ dinasta ieftin? asta are numele "House Generator Source.zip | ZIP File" .zip nu e .exe hai sal.
-
Nu il luati , omu e "hecher" a auzit si el de keylogger si a zis gata ii pacalesc pe astia dute pe taramurile moldovei acolo e ceva nou probabil e .exe nul luati ! auzi la el nume "House Generator v2.1.exe | Program" e creatie proprie?