Jump to content

LuckY

Membru
  • Posts

    22
  • Joined

  • Last visited

    Never

LuckY's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. LuckY

    eroare compile

    A mers....merci mult :D :D
  2. [pawn]I:\Users\Florin\Desktop\samp\Romania Trucking-Zon3]\gamemodes\Trucking.pwn(136) : error 017: undefined symbol "DialogStartRules"[/pawn] cum pot rezolva asta?
  3. [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.
  4. [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]
  5. 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.
  6. 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?
  7. 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)
  8. posteaza scriptul in care iti da erroarea asta si ca sa iti zic ce ai gresit pe acolo.....
  9. 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)
  10. LuckY

    Spuneti-mi

    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
  11. LuckY

    Poarta

    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
  12. GATA sa rezolvat se poate da topic closed
  13. 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
  14. 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 }
×
×
  • 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.