Jump to content

Pinki950

Membru
  • Posts

    31
  • Joined

  • Last visited

    Never

About Pinki950

  • Birthday 11/22/1995

Pinki950's Achievements

Contributor

Contributor (5/14)

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

Recent Badges

0

Reputation

  1. Nume: Pinki95 Nume tutorial: Auto Spawn Descriere: Cum fac ca atunci cand ma loghez sa nu mai trebuiasca sa dau pe spawn button( [ {<<} {>>} {Spawn} ] ) adica sa ma spaneze automat?
  2. Nume: Pinki95 Nume tutorial: comanda /tutorial Descriere: As dori sa fac o comanda [/tutorial] care odata utilizata comanda sa apara x6 SendClientMessage dupa un anumit timp sa apara urmatoarele 6x SendClientMessage
  3. Ideea este ca acest pickup este creat undeva in afara Hartii San Andreas locatia lui este "5410.7310, -884.5814, 16.5953" daca modific coordonatele mai aprope de San Andreas Merge
  4. Nick: Pinki95 Problema: Salutare, am pe serverul meu un oras undeva deasupra apei si daca creez un pickup in orasul respectiv nu mi-l arata, dar daca il creez undeva in san andreas (LS, LV, SF) merge pickup-ul. Se poate face ceva in privinta asta? Erori / warnings: - Lini/script: - Ai incercat sa rezolvi singur ?: Da, dar fara reusite!
  5. Zim ce conectiune ai Romtelecom, RDS, UPC si ce router ai
  6. Ai deschis Port Forwarding in setarile routerului?
  7. Nume: Pinki950 Nume tutorial: DriverSchool Descriere: Buna ziua, as dorii un tutorial despre cum sa fac setul de intrebari la care trebuie sa raspunzi cu A, B, C, sau D!
  8. Nu merge ini da din nou lose mismatch
  9. Nick: Pinki950 Problema: Imi da Warning 213 si nu stiu cum sa o rezolv la linia: if (doors == true) Erori / warnings: Warning 213 Lini/script: [pawn]CMD:lock(playerid, params[]) { new engine, lights, alarm, doors, bonnet, boot, objective; new vehicleid = GetPlayerVehicleID(playerid);//defining vehicleid is = to GetPlayerVehicleID. SendAdminText(playerid, "/lock", params); if(IsPlayerInAnyVehicle(playerid))//Thsi will check that is a player In a vehcile or not. { if (AVehicleData[GetPlayerVehicleID(playerid)][Owned] == true) { if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER) { GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);//will check that what is the state of the vehicle lock. if (doors == true) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, false, bonnet, boot, objective); GameTextForPlayer(playerid,"~r~Masina descuiata!",3000,4); } else { SetVehicleParamsEx(vehicleid, engine, lights, alarm, true, bonnet, boot, objective); GameTextForPlayer(playerid,"~b~Masina incuiata!",3000,4); } } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Nu esti soferul masinii"); } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Nu este masina ta"); } else SendClientMessage(playerid,0xFFFFFFFF,"{FF0000}Trebuie sa te aflii intr-o masina");//the error message. return 1; }[/pawn] Ai incercat sa rezolvi singur ?: Da, dar nici o reusita!
  10. Nume: Pinki95 Descriere Problema: Imi da Warning 213 si nu stiu cum sa o rezolv la linia: if (doors == true) Pawno Code: [pawn]CMD:lock(playerid, params[]) { new engine, lights, alarm, doors, bonnet, boot, objective; new vehicleid = GetPlayerVehicleID(playerid);//defining vehicleid is = to GetPlayerVehicleID. SendAdminText(playerid, "/lock", params); if(IsPlayerInAnyVehicle(playerid))//Thsi will check that is a player In a vehcile or not. { if (AVehicleData[GetPlayerVehicleID(playerid)][Owned] == true) { if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER) { GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);//will check that what is the state of the vehicle lock. if (doors == true) { SetVehicleParamsEx(vehicleid, engine, lights, alarm, false, bonnet, boot, objective); GameTextForPlayer(playerid,"~r~Masina descuiata!",3000,4); } else { SetVehicleParamsEx(vehicleid, engine, lights, alarm, true, bonnet, boot, objective); GameTextForPlayer(playerid,"~b~Masina incuiata!",3000,4); } } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Nu esti soferul masinii"); } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Nu este masina ta"); } else SendClientMessage(playerid,0xFFFFFFFF,"{FF0000}Trebuie sa te aflii intr-o masina");//the error message. return 1; }[/pawn]
  11. Nick: Pinki950 Problema: Cum as putea pune la comanda de mai jos si Interiorul (X, Y, Z, Interior-ID) [pawn]COMMAND:portloc(playerid, params[]) { // Setup local variables new Float:x, Float:y, Float:z, PortMsg[128]; // Send the command to all admins so they can see it SendAdminText(playerid, "/portloc", 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, "fff", x, y, z)) SendClientMessage(playerid, 0xFF0000AA, "Ex: \"/portloc <x> <y> <z>\""); else { // Port the player to the given location SetPlayerPos(playerid, x, y, z); // Let the player know about it format(PortMsg, 128, "Te-ai teleportat la locatia: %4.2f, %4.2f, %4.2f", x, y, z); SendClientMessage(playerid, 0x00FF00FF, PortMsg); } } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Nu poti utiliza /portloc at cand esti in inchisoare"); } else SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Nu poti utiliza /portloc at cand esti urmarit"); } else return 0; } else return 0; // Let the server know that this was a valid command return 1; }[/pawn]
  12. Vreau sa Creez o comanda pe ZCMD care sa aiba pe langa coordonatele X, Y, Z si Interior ID! Un pic de ajutor pls
  13. Topic Solved! [pawn]#define FILTERSCRIPT #include <a_samp> #include <Dini> #include <dudb> new Float:positionx; new Float:positiony; new Float:positionz; #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" De la Alexica721 pt voi "); print("--------------------------------------\n"); return 1; } public OnPlayerConnect(playerid) { LoadStats(playerid); return 1; } public OnPlayerDisconnect(playerid, reason) { new Float:x; new Float:y; new Float:z; GetPlayerPos(playerid,x,y,z); positionx = x; positiony = y; positionz = z; if (!dini_Exists(Pos(playerid))) { dini_Create(Pos(playerid)); } SaveStats(playerid); return 1; } public OnPlayerSpawn(playerid) { if (!dini_Exists(Pos(playerid))) { SetPlayerPos(playerid, 1676.8462, 1447.7908, 10.7833); } else { SetPlayerPos(playerid, positionx,positiony,positionz); } return 1; } Player(playerid) { new player[MAX_PLAYER_NAME]; GetPlayerName(playerid, player, sizeof(player)); return player; } Pos(playerid) { new a[256]; format(a, sizeof(a), "%s.ini",udb_encode(Player(playerid))); return a; } SaveStats(playerid) { dini_IntSet(Pos(playerid), "PositionX", floatround(positionx)); dini_IntSet(Pos(playerid), "PositionY", floatround(positiony)); dini_IntSet(Pos(playerid), "PositionZ", floatround(positionz)); } LoadStats(playerid) { positionx = dini_Int(Pos(playerid), "PositionX"); positiony = dini_Int(Pos(playerid), "PositionY"); positionz = dini_Int(Pos(playerid), "PositionZ"); } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Nimic de spus"); print("----------------------------------\n"); } #endif[/pawn]
  14. Este versiune noua aparuta?
  15. Chestia asta se intampla de exemplu atunci cand pui un mod la o masina ex BMW si BMW-ul acela il duci la tunning si il tunezi La vehiculele modate nu este permis decat schimbarea urmatoarelor lucruri: Culoare, Car Bass Bot, Hydraulics, Roti/Wheels, Nitro! Tunningul la BMW cu Spoiler, Side Skirt duce la Crash Server ex: Erorile din Poza!
×
×
  • 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.