LuckY
Membru-
Posts
22 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by LuckY
-
A mers....merci mult :D :D
-
[pawn]I:\Users\Florin\Desktop\samp\Romania Trucking-Zon3]\gamemodes\Trucking.pwn(136) : error 017: undefined symbol "DialogStartRules"[/pawn] cum pot rezolva asta?
-
[pawn]D:\Alt\New folder (2)\gamemodes\PPC_Trucking.pwn(60) : fatal error 100: cannot read from file: "PPC_MissionsAssistance"[/pawn] Imi da aceasta eroare chiar daca am fisierul respectiv.Stie cineva cum o pot rezolva.
-
[pawn]COMMAND:get(playerid, params[]) { // Setup local variables new OtherPlayer, Float:x, Float:y, Float:z, PortMsg[128], IntID, WorldID, Name[24]; // Send the command to all admins so they can see it SendAdminText(playerid, "/get", params); // Check if the player has logged in if (APlayerData[playerid][LoggedIn] == true) { // Check if the player's admin-level is at least 1 if (APlayerData[playerid][PlayerLevel] >= 1) { if (sscanf(params, "u", OtherPlayer)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/get <OtherPlayer>\""); else { // Check if that other player is online if (IsPlayerConnected(OtherPlayer)) { // Get the name of the other player GetPlayerName(OtherPlayer, Name, sizeof(Name)); // Get the location of the player GetPlayerPos(playerid, x, y, z); IntID = GetPlayerInterior(playerid); WorldID = GetPlayerVirtualWorld(playerid); // Port the other player to this player SetPlayerVirtualWorld(OtherPlayer, WorldID); SetPlayerInterior(OtherPlayer, IntID); SetPlayerPos(OtherPlayer, x, y, z + 3.0); // Let the player know about it format(PortMsg, 128, "{00FF00}You have ported {FFFF00}%s{00FF00} to your location", Name); SendClientMessage(playerid, 0xFFFFFFFF, PortMsg); } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}That player isn't online"); } } else return 0; } else return 0; // Let the server know that this was a valid command return 1; }[/pawn] [pawn]COMMAND:port(playerid, params[]) { // Setup local variables new OtherPlayer, Float:x, Float:y, Float:z, PortMsg[128], IntID, WorldID; // Send the command to all admins so they can see it SendAdminText(playerid, "/port", params); // Check if the player has logged in if (APlayerData[playerid][LoggedIn] == true) { // Check if the player's admin-level is at least 1 if (APlayerData[playerid][PlayerLevel] >= 1) { // Check if the player has a wanted level of less than 3 if (GetPlayerWantedLevel(playerid) < 3) { // Check if the player is not jailed if (APlayerData[playerid][PlayerJailed] == 0) { if (sscanf(params, "u", OtherPlayer)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/port <OtherPlayer>\""); else { // Check if that other player is online if (IsPlayerConnected(OtherPlayer)) { // Get the location of the other player GetPlayerPos(OtherPlayer, x, y, z); IntID = GetPlayerInterior(OtherPlayer); WorldID = GetPlayerVirtualWorld(OtherPlayer); // Port the player to the given location SetPlayerVirtualWorld(playerid, WorldID); SetPlayerInterior(playerid, IntID); SetPlayerPos(playerid, x, y, z + 3.0); // Let the player know about it format(PortMsg, 128, "You have been ported to location: %4.2f, %4.2f, %4.2f", x, y, z + 3.0); SendClientMessage(playerid, 0x00FF00FF, PortMsg); } else SendClientMessage(playerid, 0xFF0000FF, "That player isn't online"); } } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}You cannot use /port when you're in jail"); } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}You cannot use /port when you're wanted"); } else return 0; } else return 0; // Let the server know that this was a valid command return 1; }[/pawn]
-
Salut.Am o problema cu comenzile /port si /get.Aceastea merg cand pe server sunt 3 playerii.Cu ID 0,1,2 dar cand intra cineva cu ID 3 cand dau get sau port actioneaza asupra playerului cu ID 0.Ce pot sa fac?Care sa mai intalnit cu asa ceva.
-
Am un server de trucking.Toate bune si frumoase.Merge tot.Dar mam gandit sa adaug niste skin-uri pentru ClassWork.Am adaugat am modificat tot GM nu dadea nici o eroare.Intru in joc.Sa vad skin-urile.Am vazut ca au inceput sa se amestece skin-urile nu erau la classwork potrivit.Politia era la mafie.Cativa Truckeri erau la pilot.Am sters si am zis sa las asa cum e ca nam vrut sa ma mai chinui.Bun am adaugat niste misiuni.La fel se adaugau misiuni de la autobuz la truckeri.Care ma poate ajuta?
-
Aha k.Maine imi iau host si vad.
-
Salut.Am facut un server de samp.Acu 2-3 zile mergea sa intre lumea.Iar acuma nu mai merge.Mentionez ca am ip dinamic.Ce pot face.Daca imi iau host va face la fel.(atunci cand intra cineva era in perioade de testare)
-
posteaza scriptul in care iti da erroarea asta si ca sa iti zic ce ai gresit pe acolo.....
-
Salut.Am si eu o problema cu armele.Am bagat un sistem de arme la intamplare si cand am dat sa iau arma a disparut.La sistemul de VIP la fel.Mentionez ca numai la police apar armele si raman.Daca sa mai intalnit cineva cu asa ceva il rog sa ma ajute.(ca GM folosesc PPC_Trucking)
-
Cum fac sa apara cate un mesaj pe server la un anumit timp.Sa zicem din 5 in 5 min sa apara mesajul.Stie cineva
-
Datimi niste scripturi pentru poarta cu parola.Adica sa scriu /papadopol si pentru close si pentru open daca exista daca nu altfel da tot cu parole din astea
-
GATA sa rezolvat se poate da topic closed
-
Am incercat sa fac mape pe streamer incognito Cand pornesc sv nu imi ia pluginurile da Failed+inca o eroare ajutor pleaseeeeeeee...... http://http://img696.imageshack.us/img696/3518/newbitmapimageuv.png http://img26.imageshack.us/img26/6804/newbitmapimage2w.png Puteti sa ma ajutati please
-
Am facut un script pentru poarti si in pawn numi da vreo erroare sau warning.In joc cand o folosesc imi da unknown command.Ma poate ajuta cineva. #include <a_samp> #include <zcmd> new gate1; public OnGameModeInit() { gate1 = CreateObject(969,1392.80004883,1183.69995117,9.69999981,0.00000000,0.00000000,0.00000000, 20.0); //Creating the object return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { //opening bracket if (strcmp("/open", cmdtext, true, 5) == 0) // The /open command {//opening bracket if(IsPlayerInRangeOfPoint(playerid, 20, 1392.80004883, 1183.69995117, 4.69999981))//Checking if the player in the range of the gate {//opening bracket MoveObject(gate1, 1392.80004883, 1183.69995117, 9.69999981, 10);// Opening the gate SendClientMessage(playerid, 0xEF994300, "The gate has opened."); //Sending a message that gate opened }//closing bracket return 1; }//closing bracket if (strcmp("/close", cmdtext, true, 6) == 0)// The /close command {//opening bracket if(IsPlayerInRangeOfPoint(playerid, 20, 1392.80004883, 1183.69995117, 9.69999981))//Checking if the player in the range of the gate {//opening bracket MoveObject(gate1, 1392.80004883, 1183.69995117, 9.69999981, 10);// Moving the gate SendClientMessage(playerid, 0xEF994300, "The gate has closed.");//Sending a message to the one used the command }//closing bracket return 1; }//closing bracket return 0; //closing bracket }
-
Salut. Cum as putea adauga masisi pe server. Dar fara ca dupa aia sa imi apara de o data mai multe masini ca am mai patit.Pun 2 masini si dupa aia cand intru pe sv imi cad de o data altele care ma puteti ajuta.
-
Cum pot aduga mai multe houseslot si businessslot.(folosesc PPC_housing and PPC_Business pentru GM meu care se numeste PPC_Trucking)
-
Cum pot face misiuni noi la sa-mp. Cum ar fi sa transport ca trucker bere din L.V in L.S(sa fie ca misiuni preinstalate de la joc cu cerc rosu de unde sa incar si sa descarc ca de facut am mai facut da nu era bun acel script)PLS HELP
-
Sunt incepator ice da-mi un pm cu skype tau sau daca ai teamviewer sa intri in pc sa ma ajuti ca nu le stiu asa de bn acuma
-
1.Cum pot aduga mai multe slot-house. 2.Cum pot pune pretul la masini la toate este acelasi pret de 50.000$ 3.Cum pot rezolva problema din imagine? http://imageshack.us/f/197/59692990.png/ PLS HELP ME VA ROG MULT Ca GM folosesc PPC_trucking Iar ca filterscript NAdmin