Jump to content

nhunor58

Membru
  • Posts

    24
  • Joined

  • Last visited

    Never

Everything posted by nhunor58

  1. Pai am asa:[pawn]enum drift_checkpoints { Float:check_x, Float:check_y, Float:check_z };[/pawn] [pawn]new Drift_Checkpoint[ MAX_DRIFTS ][/pawn]
  2. UP!Help please!
  3. Dar acesta nu e o cursa,ci o comanda cu care urmezi checkpointuri si la final primesti drift points :S
  4. Salutare toti! Cand intru in checkpointul specializat unde pot folosi comanda /drift cand scriu acea comanda ma pune in masina elegy dar checkpointurile nu apar.. Comanda:[pawn]CMD:drift( playerid, params[ ] ) { if ( IsPlayerInAnyVehicle( playerid ) ) return SendError( playerid, "Please exit the vehicle first" ); for ( new i = 1; i < MAX_DRIFTS; i++ ) if ( IsPlayerInDynamicRaceCP( playerid, drift_cp[ i ] ) ) PlayerInfo[ playerid ][ Race_CP ] = i; if ( PlayerInfo[ playerid ][ Race_CP ] == 0 || PlayerInfo[ playerid ][ Race_CP ] > 7 ) return SendError( playerid, "You are not in any race checkpoint !" ); LoadDriftCheckpoints( PlayerInfo[ playerid ][ Race_CP ] ); CarSpawner( playerid, 562 ); SetVehicleVirtualWorld( GetPlayerVehicleID( playerid ), 1 ); SetPlayerVirtualWorld( playerid, 1 ); if ( Speeding[ playerid ] ) Speeding[ playerid ] = false; if ( PlayerInfo[ playerid ][ Vup ] == 1 ) PlayerInfo[ playerid ][ Vup ] = 0; SetPlayerRaceCheckpoint( playerid, 0, Drift_Checkpoint[ PlayerInfo[ playerid ][ Race_CP ] ][ 1 ][ gfDrift_X ], Drift_Checkpoint[ PlayerInfo[ playerid ][ Race_CP ] ][ 1 ][ gfDrift_Y ], Drift_Checkpoint[ PlayerInfo[ playerid ][ Race_CP ] ][ 1 ][ gfDrift_Z ], Drift_Checkpoint[ PlayerInfo[ playerid ][ Race_CP ] ][ 2 ][ gfDrift_X ], Drift_Checkpoint[ PlayerInfo[ playerid ][ Race_CP ] ][ 2 ][ gfDrift_Y ], Drift_Checkpoint[ PlayerInfo[ playerid ][ Race_CP ] ][ 2 ][ gfDrift_Z ], 10.0 ); Announce( playerid, "~r~~h~GO!~n~~y~~h~GO!~n~~g~~h~GO!", 3000, 4 ); PlayerInfo[ playerid ][ ActionID ] = 13; DriftTime[ playerid ] = GetTickCount( ); return 1; }[/pawn]
  5. Sau i-ati o versiune statica a pluginului MySQL...
  6. 1.Stiu ca nu este forum de minecraft....dar este categoria Let's talk... 2.Nici nu stiam de siteul ala :O
  7. Stie cineva un hosting minecraft care ofera servicii de gazduire ieftin?? Nu imi trebuie multe sloturi!!
  8. Eu il am hostat la www.proservers.ro 50 de sloturi 4 euro,la 45 de playeri ON nu era lag,eu sunt multumit...
  9. 5/5 foarte frumos
  10. Cineva pls help!!
  11. Deci am un MINIGUN deathmatch FILTERSCRIPT...Am 2 probleme cu el; 1)Cand mor nu respawnez IN DM 2)Cand ies din dm NU dezactiveaza world bounderies-urile.. Aici este:[pawn]#include <a_samp> #define COLOR_LIGHTBLUE 0x33CCFF19//define for lightblue new String[256]; // String for messages new InDM[MAX_PLAYERS]; // We will use it later to tell the script if the player is in DM or not new Float:DMSpawns[][4] = { // Random spawns so players won't spawn at the same place {1410.5425,2176.3142,12.0156}, {1370.7050,2196.3381,9.7578}, {1416.5570,2102.6685,23.4782} //I will be using 3 you can add more if you want }; public OnPlayerConnect(playerid) { InDM[playerid] = 0; // This will set the player as not in DM return 1; } public OnPlayerDisconnect(playerid, reason) { InDM[playerid] = 0; // Makes the player set as not in the DM return 1; } public OnPlayerSpawn(playerid) { if(InDM[playerid] == 1)//This will tell the script to respawn only the players that inside DM { SetPlayerInterior(playerid, 0); // We will set the interior to 0 (you can change it to your own DM) SetPlayerVirtualWorld(playerid, 10); // and we will make the Virtual World in different world, so we wont mix with other players new rand = random(sizeof(DMSpawns)); // DM Spawn SetPlayerPos(playerid, DMSpawns[rand][0], DMSpawns[rand][1], DMSpawns[rand][2]);// we will set the player position at DM SetPlayerFacingAngle(playerid, DMSpawns[rand][3]); // Also facing Angle //and we will give him weapons, I will give 2 weapons GivePlayerWeapon(playerid, 24, 1500); // Desert Eagle GivePlayerWeapon(playerid, 26, 1500); // Sawnoff Shutgun //you can edit them, or add more weapons } return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/minigun", cmdtext, true, 4) == 0) //(/dm) command { new PlayerName[MAX_PLAYER_NAME];//Player name GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(InDM[playerid] == 0)//if the player is not in DM {//then InDM[playerid] = 1; // Now we will set him in DM so he will respawn at DM SendClientMessage(playerid, COLOR_LIGHTBLUE , "You have joined /dm, to leave type /dm again");//Message to tell him that he joined DM format(String, sizeof(String), "Server:{FFFFFF}%s(%d) has joined DM(/dm)", PlayerName, playerid); SendClientMessageToAll(COLOR_LIGHTBLUE, String);//Message to tell everyone that he joined DM SetPlayerInterior(playerid, 0); SetPlayerWorldBounds(playerid, 1439.348, 1271.44, 2235.263, 2080.541); // Just like we did before we will set he's interior to 0 SetPlayerVirtualWorld(playerid, 10); // and same here Virtual World to 10 new rand = random(sizeof(DMSpawns)); // DM Spawn SetPlayerPos(playerid, DMSpawns[rand][0], DMSpawns[rand][1], DMSpawns[rand][2]);// we will set the player position at DM SetPlayerFacingAngle(playerid, DMSpawns[rand][3]); // Also facing Angle //and we will give him weapons, I will give 2 weapons GivePlayerWeapon(playerid, 38, 99999); // Desert Eagle //you can edit them, or add more weapons if you want } else {//if the player is already in DM, he will leave InDM[playerid] = 0; //So now we will set him as not in DM SendClientMessage(playerid, COLOR_LIGHTBLUE, "You have left /dm to join again type /dm");//We will send him a message to tell him that he left SpawnPlayer(playerid);//We will spawn the player now SetPlayerHealth(playerid, 100);//set he's health to 100 ResetPlayerWeapons(playerid);// and reset he's weapons SetPlayerVirtualWorld(playerid, 0);//we will set he's virtual world to 0 SetPlayerInterior(playerid, 0);//also interior to 0 } return 1; } return 0; }[/pawn]
  12. Il mai am la PM system si daca il sterg de acolo atunci pawno has stopped working imi da,cand dau compile..
  13. Mersi foarte mult dar problema cu OnDialogResponse care e definita de doua ori nu poate ramane asa fara sa primesc erori???
  14. Acum partea aceia din script arata asa:[pawn]dcmd_buyvip(playerid,params[]) //Adaugati oriunde in GameMode { #pragma unused params ShowPlayerDialog(playerid,bvip,DIALOG_STYLE_LIST,"BuyVip","{FFFFFF}Level 1 {FFAF00} --> {FF0000} 5 Ore\n{FFFFFF}Level 2 {FFAF00} --> {FF0000} 10 Ore\n{FFFFFF}Level 3 {FFAF00} --> {FF0000}15 Ore","Select","Cancel"); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if (dialogid == bvip) { if(response) { if(listitem == 0) { if AccInfo[playerid][hours] >= 5) //Orele care trebuie sa le aiba playerul { AccInfo[playerid][pVip] = 1; //Levelul la VIP AccInfo[playerid][hours] -= 5; } else { SendClientMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore destule } } if(listitem == 1) { if AccInfo[playerid][hours] >= 10) //Orele pentru a cumpara VIP { AccInfo[playerid][pVip] = 2; //Levelul de VIP AccInfo[playerid][hours] -= 10; } else { SendClientMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore suficiente } } if (listitem == 2) { if AccInfo[playerid][hours] >= 15) //Orele care trebuiesc pentru a cumpara VIP { AccInfo[playerid][pVip] = 3; //Levelul VIP AccInfo[playerid][hours] = 15; } else { SendClientMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are destule ore } } } } return 1; }[/pawn] Iar primesc 12 erori: C:\Users\Hunor\Desktop\testing.pwn(6736) : error 017: undefined symbol "bvip" C:\Users\Hunor\Desktop\testing.pwn(6741) : error 017: undefined symbol "bvip" C:\Users\Hunor\Desktop\testing.pwn(6747) : error 001: expected token: "*then", but found ")" C:\Users\Hunor\Desktop\testing.pwn(6747) : error 029: invalid expression, assumed zero C:\Users\Hunor\Desktop\testing.pwn(6752) : error 029: invalid expression, assumed zero C:\Users\Hunor\Desktop\testing.pwn(6759) : error 001: expected token: "*then", but found ")" C:\Users\Hunor\Desktop\testing.pwn(6759) : error 029: invalid expression, assumed zero C:\Users\Hunor\Desktop\testing.pwn(6764) : error 029: invalid expression, assumed zero C:\Users\Hunor\Desktop\testing.pwn(6771) : error 001: expected token: "*then", but found ")" C:\Users\Hunor\Desktop\testing.pwn(6771) : error 029: invalid expression, assumed zero C:\Users\Hunor\Desktop\testing.pwn(6776) : error 029: invalid expression, assumed zero C:\Users\Hunor\Desktop\testing.pwn(7458) : warning 217: loose indentation C:\Users\Hunor\Desktop\testing.pwn(7466) : warning 225: unreachable code C:\Users\Hunor\Desktop\testing.pwn(8656) : error 021: symbol already defined: "OnDialogResponse" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 12 Errors.
  15. Deci cu ajutorul unui tutorial de la gta-mp am incercat sa pun un /buyvip in scriptul LuxAdmin l-am adaugat unde sunt si celalalte comenzi si arata cam asa:[pawn] dcmd_buyvip(playerid,params[]) //Adaugati oriunde in GameMode { #pragma unused params ShowPlayerDialog(playerid,bvip,DIALOG_STYLE_LIST,"BuyVip","{FFFFFF}Level 1 {FFAF00} --> {FF0000} 20 Ore\n{FFFFFF}Level 2 {FFAF00} --> {FF0000} 40 Ore\n{FFFFFF}Level 3 {FFAF00} --> {FF0000}60 Ore","Select","Cancel); return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if (dialogid == bvip) { if(response) { if(listitem == 0) { if AccInfo[playerid][hours] >= 5) //Orele care trebuie sa le aiba playerul { AccInfo[playerid][pVip] = 1; //Levelul la VIP AccInfo[playerid][hours] -= 5; } else { SendClienMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore destule } } if(listitem == 1) { if AccInfo[playerid][hours] >= 10) //Orele pentru a cumpara VIP { AccInfo[playerid][pVip] = 2; //Levelul de VIP AccInfo[playerid][hours] -= 10; } else { SendClienMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore suficiente } } if (listitem == 2) { if AccInfo[playerid][hours] >= 15) //Orele care trebuiesc pentru a cumpara VIP { AccInfo[playerid][pVip] = 3; //Levelul VIP AccInfo[playerid][hours] = 15; } else { SendClienMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are destule ore } } } return 1; }[/pawn] Si la compilare primesc erori: C:\Users\Hunor\Desktop\testing.pwn(478) : error 017: undefined symbol "UpdateConfig" C:\Users\Hunor\Desktop\testing.pwn(479) : error 017: undefined symbol "ReadTextDraws" C:\Users\Hunor\Desktop\testing.pwn(498) : error 017: undefined symbol "ShowConfigInConsole" C:\Users\Hunor\Desktop\testing.pwn(523) : error 004: function "SaveTeleport" is not implemented C:\Users\Hunor\Desktop\testing.pwn(625) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(640) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(660) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(703) : error 017: undefined symbol "LoginPlayer" C:\Users\Hunor\Desktop\testing.pwn(775) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(793) : error 017: undefined symbol "SavePlayerStats" C:\Users\Hunor\Desktop\testing.pwn(821) : error 004: function "EraseVeh" is not implemented C:\Users\Hunor\Desktop\testing.pwn(827) : error 017: undefined symbol "AdvanceSpectate" C:\Users\Hunor\Desktop\testing.pwn(1026) : error 017: undefined symbol "AdvanceSpectate" C:\Users\Hunor\Desktop\testing.pwn(1043) : error 004: function "MessageToPlayerVIP" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1044) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1054) : error 004: function "MessageToAdmins" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1056) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1085) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1103) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1144) : error 017: undefined symbol "AdvertisementCheck" C:\Users\Hunor\Desktop\testing.pwn(1157) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1204) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1225) : error 004: function "SaveIn" is not implemented C:\Users\Hunor\Desktop\testing.pwn(1503) : error 017: undefined symbol "TotalGameTime" C:\Users\Hunor\Desktop\testing.pwn(1826) : error 017: undefined symbol "ReturnUser" C:\Users\Hunor\Desktop\testing.pwn(1848) : error 017: undefined symbol "SendCommandToAdmins" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Deci stiu ca problema e la AccInfo acela,trebuie schimbat cum este la luxadmin pentru vip,dar nu stiu cum...Va rog ajutor! PS:Sub OnPlayerCommandText mai am:[pawn]{ dcmd(buyvip,6,cmdtext); return 1; }[/pawn]
  16. ok voi incerca si voi reveni cu un edit.. EDIT:IOI mersi mult in sfarsit merge you are the best :D
  17. DA in afara de gamemode totul merge perfect si luxadmin si tot!!! PS:Am bagat nativechecker si am primit astea: [23:05:08] Error: Function not registered: 'Streamer_CallbackHook' [23:05:08] Error: Function not registered: 'SSCANF_Init' [23:05:08] Error: Function not registered: 'SSCANF_Join' [23:05:08] Error: Function not registered: 'SSCANF_Leave'
  18. ms dar asa sunt adaugate si nu s-a schimbat nimic :shocked:
  19. Deci am cumparat un host am uploadat toate fileurile,pluginurile vad ca LuxAdmin merge dar gamemode-ul imi da o eroare.. Server log: ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3e, (C)2005-2012 SA-MP Team [21:19:10] [21:19:10] Server Plugins [21:19:10] -------------- [21:19:10] Loading plugin: sscanf.so [21:19:10] [21:19:10] =============================== [21:19:10] sscanf plugin loaded. [21:19:10] (c) 2009 Alex "Y_Less" Cole [21:19:10] =============================== [21:19:10] Loaded. [21:19:10] Loading plugin: streamer.so [21:19:10] *** Streamer Plugin v2.5.2 by Incognito loaded *** [21:19:10] Loaded. [21:19:10] Loading plugin: Whirlpool.so [21:19:10] [21:19:10] ================== [21:19:10] [21:19:10] Whirlpool loaded [21:19:10] [21:19:10] ================== [21:19:10] [21:19:10] Loaded. [21:19:10] Loaded 3 plugins. [21:19:10] [21:19:10] Filterscripts [21:19:10] --------------- [21:19:10] Loading filterscript 'LuxAdmin.amx'... [21:19:10] ___________________________________________________ [21:19:10] [21:19:10] L.A.S v1.6 Beta [21:19:10] --------------- [21:19:10] LuX Administration System [21:19:10] ___________________________________________________ [21:19:10] -> Loading... [21:19:10] -Current Configurations Successfully Loaded! [21:19:10] [21:19:10] -> L.A.S Basic Loaded Configurations: [21:19:10] AutoLogin: [Enabled!] ReadCmds: [Enabled!] [21:19:10] AntiSwear: [Disabled] AntiSpam: [Enabled!] [21:19:10] NameKick: [Enabled!] AntiBot: [Enabled!] [21:19:10] ConnectMsgs: [Enabled!] NoCaps: [Disabled] [21:19:10] AdminCmdMsgs: [Disabled] Anti Ads: [Enabled!] [21:19:10] SaveMoney: [Enabled!] MustLogin [Enabled!] [21:19:10] Forbid Weaps: [Disabled] AdmSkins: [Disabled] [21:19:10] ReadPms: [Enabled!] MaxLevel: [10] [21:19:10] SaveWeaps [Enabled!] Max Ping: [500ms] [21:19:10] ChatDisabled: [Disabled] MuteWarns: [5] [21:19:10] MustRegister: [Enabled!] AdmSkins [217, 214] [21:19:10] -> Loaded Successfully! [21:19:10] Date: 19/1/2013 - Time: 21:19:10 [21:19:10] ___________________________________________________ [21:19:10] Loading filterscript 'DSpeedo.amx'... [21:19:10] Clock Speedometer load [21:19:10] Loading filterscript 'Sp.amx'... [21:19:10] ------------------------------------------------- [21:19:10] Speed Boost With Car Fly Has been loaded by Boom [21:19:10] ------------------------------------------------- [21:19:10] Loading filterscript 'time.amx'... [21:19:10] -------------------------------------- [21:19:10] Clock System by Shadow Loaded [21:19:10] -------------------------------------- [21:19:10] Loading filterscript 'wmenu.amx'... [21:19:10] Loading filterscript 'adm.amx'... [21:19:10] Loading filterscript 'deathdrive.amx'... [21:19:10] Loading filterscript 'bot.amx'... [21:19:10] -------------------------------------- [21:19:10] PMessage By PDS2012 Loaded... [21:19:10] -------------------------------------- [21:19:10] Loading filterscript 'DontGetWet.amx'... [21:19:10] Loading filterscript 'houseing.amx'... [21:19:10] Loading filterscript 'viptag.amx'... [21:19:10] Loading filterscript 'radio.amx'... [21:19:10] -------------------------------------- [21:19:10] DuReX's Radio Filterscript v1.0 loaded! [21:19:10] -------------------------------------- [21:19:10] Loaded 12 filterscripts. [21:19:10] Script[gamemodes/TorettoRacing2.amx]: Run time error 19: "File or function is not found" [21:19:10] Number of vehicle models: 0 PS: Hostul e pe linux iar acasa pe windows merge...
  20. Nimeni nimic?
  21. Aceasi chestie se intampla chiar si daca l-am schimbat...
  22. Am pus dar cand mor ma pune acolo dar dupa acesta iarasi mor automat si ma spawneaza in oras: Full script:[PAWN]#include <a_samp> #define COLOR_GREEN 0x6AF7E1FF new DM[MAX_PLAYERS]; new InMinigun[MAX_PLAYERS]; public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/minigun", true)) { new pname[MAX_PLAYER_NAME], string3[128]; DM[playerid] = 1; InMinigun[playerid] = 1; SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,38 , 9999); GameTextForPlayer(playerid,"~r~~h~WeLcOmE To MiNiGuN",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~", pname); SendClientMessage(playerid, COLOR_GREEN, string3); SetPlayerFacingAngle(playerid, 0.0); SetPlayerInterior(playerid, 0); SendClientMessage(playerid, 0x6AF7E1FF, " If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!"); SendClientMessage(playerid, COLOR_GREEN, "If you want to get out of DM use the command /exit!"); return 1; } if(!strcmp(cmdtext, "/exit", true)) { SendClientMessage(playerid, -1, "Ai iesit din DM!"); InMinigun[playerid] = 0; DM[playerid] = 0; ResetPlayerWeapons(playerid); return 1; } return 0; } public OnPlayerSpawn( playerid) { if( InMinigun[playerid] == 1 ) { ResetPlayerWeapons(playerid); SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); GivePlayerWeapon(playerid,38 , 9999); } return 1; } public OnPlayerDeath( playerid) { if( InMinigun[playerid] == 1 ) { ResetPlayerWeapons(playerid); SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); GivePlayerWeapon(playerid,38 , 9999); } return 1; } [/PAWN]Si mersi pentru ajutorul dat pana acum...
  23. Salutare all am facut si eu un script de minigun DM dar cand mor nu respawnez in DM. Aici este scriptul:[pawn] #include <a_samp> #define COLOR_GREEN 0x6AF7E1FF new DM[MAX_PLAYERS]; new InMinigun[MAX_PLAYERS]; public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/minigun", true)) { new pname[MAX_PLAYER_NAME], string3[128]; DM[playerid] = 1; InMinigun[playerid] = 1; SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,38 , 9999); GameTextForPlayer(playerid,"~r~~h~WeLcOmE To MiNiGuN",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~", pname); SendClientMessage(playerid, COLOR_GREEN, string3); SetPlayerFacingAngle(playerid, 0.0); SetPlayerInterior(playerid, 0); SendClientMessage(playerid, 0x6AF7E1FF, " If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!"); SendClientMessage(playerid, COLOR_GREEN, "If you want to get out of DM use the command /exitdm!"); return 1; } if(!strcmp(cmdtext, "/exit", true)) { SendClientMessage(playerid, -1, "Ai iesit din DM!"); InMinigun[playerid] = 0; DM[playerid] = 0; return 1; } return 0; } public OnPlayerSpawn( playerid) { if( InMinigun[playerid] == 1 ) { SetPlayerPos(playerid, 1303.0999755859, 2166.3999023438, 10.699999809265); } return 1; } [/pawn]Va rog sa ma ajutati...
  24. Am creat un DM Minigun dar nu prea functionezaz.. #include <a_samp> if(!strcmp(cmdtext, "/minigun", true)) { ResetPlayerWeapons(playerid); DM[playerid] = 1; InMinigun[playerid] = 1; SetPlayerRandomSpawnMinigun(playerid); GivePlayerWeapon(playerid,38 , 9999); GameTextForPlayer(playerid,"~r~~h~WeLcOmE To MiNiGuN",3000,5); GetPlayerName(playerid, pname, sizeof (pname)); format(string3, sizeof(string3),"%s HaS GoNe To MiNiGuN ~r~(/minigun)~p~", pname); TextDrawDestroy(Text:Reclama); Reclama = TextDrawCreate(250.000000, 435.000000, " "); TextDrawFont(Reclama, 1); TextDrawLetterSize(Reclama, 0.300000, 1.000000); TextDrawColor(Reclama, 0x00C2ECFF); TextDrawSetOutline(Reclama, 1); TextDrawSetProportional(Reclama, 1); TextDrawSetShadow(Reclama, 1); TextDrawShowForAll(Reclama); TextDrawSetString(Reclama, string3); SetTimer("reclamatime",10000,false); SetPlayerFacingAngle(playerid, 0.0); SetPlayerInterior(playerid, 0); SetPlayerWorldBounds(playerid, 1337, 1303.0999755859, 2166.3999023438, 10.699999809265); SendClientMessage(playerid, 0x6AF7E1FF, " If you are caught fire zone STUNT These weapons MAKE JAIL / kick / ban permanently!"); SendClientMessage(playerid,COLOR_GREEN, "If you want to get out of DM use the command /exitdm!"); return 1; } SI imi da trei erori: C:\Users\Hunor\Desktop\minigun.pwn(2) : error 010: invalid function or declaration C:\Users\Hunor\Desktop\minigun.pwn(8) : error 021: symbol already defined: "GivePlayerWeapon" C:\Users\Hunor\Desktop\minigun.pwn(28) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase va rog ajuta-tima
×
×
  • 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.