Jump to content

CristyRo

Membru
  • Posts

    93
  • Joined

  • Last visited

    Never

Everything posted by CristyRo

  1. Spune-mi ce ai la acele 3 linii
  2. [pawn]dcmd_stats(playerid, params[]) { new givepid; //------------------------------------------------------------------------------ if(!sscanf(params, "u", givepid)) { if(IsPlayerConnected(givepid)) { ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "{CCCCCC}Player Stats", ShowStats(givepid), "Ok"); return 1; } else return SendClientMessage(playerid, red, "ERROR: Player not connected!"); } else return ShowPlayerDialog(playerid, 9990, DIALOG_STYLE_MSGBOX, "{CCCCCC}Player Stats", ShowStats(playerid), "Ok"); }[/pawn]
  3. Nick: CristyRo Problema: am facut un dialog la connect, cand se conecteze sa ii apara un dialog care sa selecteze limba, dar imi da errors Erori / warnings: [pawn] RRS.pwn(1382) : warning 202: number of arguments does not match definition [/pawn] Lini/script: [pawn] ShowPlayerDialog(playerid, gLang, DIALOG_STYLE_MSGBOX, "{AFAFAF}Select your language", "Romana", "Engish");[/pawn] Ai incercat sa rezolvi singur ?:Da T/C rezolvat.
  4. [pawn] Textdraw0 = TextDrawCreate(535.988403, 423.500061, "Skilledz ~w~Community"); TextDrawBackgroundColor(Textdraw0, 51); TextDrawAlignment(Textdraw0, 1); TextDrawFont(Textdraw0, 3); TextDrawLetterSize(Textdraw0, 0.447657, 1.745833); TextDrawColor(Textdraw0, 8454088); TextDrawSetOutline(Textdraw0, 1); TextDrawSetProportional(Textdraw0, 1); TextDrawSetShadow(Textdraw0, 0); [/pawn]
  5. S-a compilat, multumesc, dar [pawn] C:\Users\Sebastian\Desktop\Cristian\RSSFORHOST\gamemodes\RRS.pwn(4278) : warning 202: number of arguments does not match definition C:\Users\Sebastian\Desktop\Cristian\RSSFORHOST\gamemodes\RRS.pwn(6150) : warning 202: number of arguments does not match definition C:\Users\Sebastian\Desktop\Cristian\RSSFORHOST\gamemodes\RRS.pwn(10184) : warning 202: number of arguments does not match definition [/pawn]
  6. Nick: CristyRo Problema: am un language system in gamemode si imii da error. Erori / warnings: [pawn] C:\Users\Sebastian\Desktop\Cristian\RSSFORHOST\gamemodes\RRS.pwn(12575) : error 017: undefined symbol "playerid" C:\Users\Sebastian\Desktop\Cristian\RSSFORHOST\gamemodes\RRS.pwn(12608) : error 017: undefined symbol "playerid" [/pawn] Lini/script: [pawn] stock ShowCmds() { new SCmds[2024]; //-------------------------------------------------------------------------- if(pLang[playerid] == 1336) { strcat(SCmds, "{0066CC}Royal {FFFF00}Super {FF0000}Stunt {AFAFAF} Commands\n"); strcat(SCmds, "{FF0000}/CreateClan {FFFABA}- To create your own clan!\n"); strcat(SCmds, "{FF0000}/Help {FFFABA}- If you are new on our server and need some help!\n"); strcat(SCmds, "{FF0000}/Teles {FFFABA}- The list with all server teleports!\n"); strcat(SCmds, "{FF0000}/Cmds {FFFABA}- The list with all server commands!\n"); strcat(SCmds, "{FF0000}/News {FFFABA}- To see what's new on our server!\n"); strcat(SCmds, "{FF0000}/Credits {FFFABA}- To see our server credits\n"); strcat(SCmds, "{FF0000}/Rules {FFFABA}- To see our server rules that you must respect!\n"); strcat(SCmds, "{FF0000}/MoveStats {FFFABA}- To move your stats!\n"); strcat(SCmds, "{FF0000}/Trade {FFFABA}- To Sell and Buy things from your Stats\n"); strcat(SCmds, "{FF0000}/v {FFFABA}- To browse through a vehicles menu!\n"); strcat(SCmds, "{FF0000}/Car [Name/ID]{FFFABA}- To spawn youRSElf a vehicle!\n"); strcat(SCmds, "{FF0000}/Nrg {FFFABA}- To spawn youRSElf a NRG-500!\n"); strcat(SCmds, "{FF0000}/TopP {FFFABA}- To see our server top players!\n"); strcat(SCmds, "{FF0000}/Skin [skinID] {FFFABA}- To change your skin!\n"); strcat(SCmds, "{FF0000}/TCar [1-10] {FFFABA}- To spawn youRSElf a tunned car!\n"); strcat(SCmds, "{FF0000}/SStunts {FFFABA}- To see a list with some simple stunts!\n"); strcat(SCmds, "{FF0000}/Stats [PlayerID] {FFFABA}- To see someone stats!\n"); strcat(SCmds, "{FF0000}/GetID [Name] {FFFABA}- To get someone ID from his name!\n"); strcat(SCmds, "{FF0000}/Up [Height] {FFFABA}- To change your position height!\n"); strcat(SCmds, "{FF0000}/Animlist {FFFABA}- To see a list with all anims!\n"); strcat(SCmds, "{FF0000}/Ozn {FFFABA}- To make youRSElf an UFO!\n"); strcat(SCmds, "{FF0000}/Time {FFFABA}- To see what time is it\n"); strcat(SCmds, "{FF0000}/RW {FFFABA}- To buy an Running Weapons pack!\n"); strcat(SCmds, "{FF0000}/WW {FFFABA}- To buy an Walking Weapons pack!\n"); strcat(SCmds, "{FF0000}/Vup {FFFABA}- To activate/deactivate Vup!\n"); strcat(SCmds, "{FF0000}/HideTag {FFFABA}- Turn Name tag off!\n"); strcat(SCmds, "{FF0000}/CMenu {FFFABA}- To change your color!\n"); strcat(SCmds, "{FF0000}/Ad [Message] {FFFABA}- To make an announcement!\n"); strcat(SCmds, "{FF0000}/StopHold {FFFABA}- To remove all attached holds!\n"); } if(pLang[playerid] == 1337) { strcat(SCmds, "{0066CC}Royal {FFFF00}Super {FF0000}Stunt {AFAFAF} Comenzi\n"); strcat(SCmds, "{FF0000}/CreateClan {FFFABA}- Iti poti creea propriul clan!\n"); strcat(SCmds, "{FF0000}/Help {FFFABA}- daca esti nou pe server, aici poti gasi informatii!\n"); strcat(SCmds, "{FF0000}/Teles {FFFABA}- The list with all server teleports!\n"); strcat(SCmds, "{FF0000}/Cmds {FFFABA}- The list with all server commands!\n"); strcat(SCmds, "{FF0000}/News {FFFABA}- To see what's new on our server!\n"); strcat(SCmds, "{FF0000}/Credits {FFFABA}- To see our server credits\n"); strcat(SCmds, "{FF0000}/Rules {FFFABA}- To see our server rules that you must respect!\n"); strcat(SCmds, "{FF0000}/MoveStats {FFFABA}- To move your stats!\n"); strcat(SCmds, "{FF0000}/Trade {FFFABA}- To Sell and Buy things from your Stats\n"); strcat(SCmds, "{FF0000}/v {FFFABA}- To browse through a vehicles menu!\n"); strcat(SCmds, "{FF0000}/Car [Name/ID]{FFFABA}- To spawn youRSElf a vehicle!\n"); strcat(SCmds, "{FF0000}/Nrg {FFFABA}- To spawn youRSElf a NRG-500!\n"); strcat(SCmds, "{FF0000}/TopP {FFFABA}- To see our server top players!\n"); strcat(SCmds, "{FF0000}/Skin [skinID] {FFFABA}- To change your skin!\n"); strcat(SCmds, "{FF0000}/TCar [1-10] {FFFABA}- To spawn youRSElf a tunned car!\n"); strcat(SCmds, "{FF0000}/SStunts {FFFABA}- To see a list with some simple stunts!\n"); strcat(SCmds, "{FF0000}/Stats [PlayerID] {FFFABA}- To see someone stats!\n"); strcat(SCmds, "{FF0000}/GetID [Name] {FFFABA}- To get someone ID from his name!\n"); strcat(SCmds, "{FF0000}/Up [Height] {FFFABA}- To change your position height!\n"); strcat(SCmds, "{FF0000}/Animlist {FFFABA}- To see a list with all anims!\n"); strcat(SCmds, "{FF0000}/Ozn {FFFABA}- To make youRSElf an UFO!\n"); strcat(SCmds, "{FF0000}/Time {FFFABA}- To see what time is it\n"); strcat(SCmds, "{FF0000}/RW {FFFABA}- To buy an Running Weapons pack!\n"); strcat(SCmds, "{FF0000}/WW {FFFABA}- To buy an Walking Weapons pack!\n"); strcat(SCmds, "{FF0000}/Vup {FFFABA}- To activate/deactivate Vup!\n"); strcat(SCmds, "{FF0000}/HideTag {FFFABA}- Turn Name tag off!\n"); strcat(SCmds, "{FF0000}/CMenu {FFFABA}- To change your color!\n"); strcat(SCmds, "{FF0000}/Ad [Message] {FFFABA}- To make an announcement!\n"); strcat(SCmds, "{FF0000}/StopHold {FFFABA}- To remove all attached holds!\n"); } //-------------------------------------------------------------------------- return SCmds; } [/pawn] Ai incercat sa rezolvi singur ?:Da
  7. Nume:CristyRo Nume tutorial:Fanction System intr-un FS, 2 factiuni, OnlyKillerZ si Thug4Life cu comenzile de baza: /invite , /accept , /decline , /setrank , /setcoleader, /setleader , /setfskin , /fscreen,RCON:/setfowner. Descriere:Faction system intr-un FilterScript, nu am gasit, am incercat sa fac dupa un model de faction system standard.
  8. Nick:CristyRo Problema: warnings si errors la 4 comenzi Erori / warnings: C:\Users\Secret\Desktop\Secret\RSE\filterscripts\CC.pwn(741) : warning 209: function "cmd_opengate" should return a value C:\Users\Secret\Desktop\Secret\RSE\filterscripts\CC.pwn(742) : error 010: invalid function or declaration C:\Users\Secret\Desktop\Secret\RSE\filterscripts\CC.pwn(755) : warning 209: function "cmd_closegate" should return a value C:\Users\Secret\Desktop\Secret\RSE\filterscripts\CC.pwn(756) : error 010: invalid function or declaration Lini/script: CMD:opengate(playerid, params[]) { if (IsPlayerAnyClanMember(playerid)) { MoveObject(gate1,3156.1377, -340.9691, 16.4334,4); return 1; } else SendClientMessage(playerid,0xFF0000AA,"You are not member in a clan!"); } return 1; } //------------------------------------------------------------------------------ CMD:og(playerid,params[]) return cmd_opengate(playerid, params); //------------------------------------------------------------------------------ CMD:closegate(playerid, params[]) { if (IsPlayerAnyClanMember(playerid)) { MoveObject(gate1,3156.1377, -340.9691, 10.5306,4); return 1; } else SendClientMessage(playerid,0xFF0000AA,"You are not member in a clan!"); } return 1; } //------------------------------------------------------------------------------ CMD:cg(playerid,params[]) return cmd_closegate(playerid, params); Ai incercat sa rezolvi singur ?:Da
  9. Pai e Romania Real Stunt edit care ar veni XSS v4 edit
  10. Imi da warn error 001: error 001: expected token: ";", but found "-end of file-"" la [pawn]#endif[/pawn]
  11. Nume:CristyRo Nume tutorial:Cum sa leg o factiune/un gang de un teritoriu/gangzone. Descriere:cum fac o factiune/gang sa fie legata de un gangzone?si cum fac ca acel gangzone daca un membru al altei factiuni/gang il poate captura stand 14 secunde intr-un checkpoint
  12. Imi place,daca inlocuiesc FactionMemeber cu GangMember se poate face gang system ,+1 rep
  13. Schimba hm in alt nume ca doebicei asa imi facea si mie
  14. Deci cand fac port forward la routerul meu (huawei hg655b) nu imi merge sv samp, adica doar mie imi merge nu si la altii
  15. CMD:hm(playerid, params[]) { //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 404.8082,2448.4775,16.1368)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 2118.8127,-2626.3044,13.6103)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -1467.242553,-208.593795,19.070312)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 1583.712890,1450.693969,10.831033)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -2335.8875,-1626.1935,483.3552)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -527.418701,2023.649047,47.490310)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 1857.1230,-2281.7593,17.0903)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -2633.8022,1359.0215,6.6751)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 1374.3136, -257.4903, 18.3436)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 834.037170, 269.238159, 709.190002)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 851.836975, -2246.758056, 662.570007)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 2410.961669,4172.320312,54.480434)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 1413.6228, 2730.4304, 10.8703)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -214.542678, -8175.392578, 35.225547)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 1841.7723, -3129.0222, 71.7619)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 3267.1531, -2449.8621, 90.8472)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -192.1480, -103.3305, 2.6739)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 560.0731,-1871.9779,4.1871)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -1973.711059, 287.046234, 35.171875)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, 2499.548583, -1684.674194, 13.429053)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //-------------------------------------------------------------------------- if(IsPlayerInRangeOfPoint(playerid, 20, -276.953033, 1557.448364, 75.359375)) { SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GameTextForPlayer(playerid, "~n~~r~Info:~n~~y~+100 Health~n~~y~+100 Armour", 3000, 3); return 1; } //--------------------------------------------------------------------------- else return SendClientMessage(playerid, COLOR_GREEN, "{F6FF00}You are not in {0026FF}spawn zone{F6FF00}!"); } pune asta in locul acelei comanda si iti setezi tu spawnu-l
  16. Cer sa te contrazic Exista pe internet IPB 3.4.6 la download , adica aproape toate platformele sunt la download
  17. Este pusa intr-un FS sau GM?
  18. CristyRo

    Errors

    [pawn] //-------------------------------------------------------------------------- //Player Clan Weapons //-------------------------------------------------------------------------- if(IsPlayerAnyClanMember(playerid)) { SetPlayerColor(playerid,ClanColors[GetClanColor(GetPlayerClan(playerid))]); GivePlayerWeapon(playerid, GetClanWeapon1(GetPlayerClan(playerid)), 1000000); GivePlayerWeapon(playerid, GetClanWeapon2(GetPlayerClan(playerid)), 1000000); GivePlayerWeapon(playerid, GetClanWeapon3(GetPlayerClan(playerid)), 1000000); GivePlayerWeapon(playerid, GetClanWeapon4(GetPlayerClan(playerid)), 1000000); GivePlayerWeapon(playerid, GetClanWeapon5(GetPlayerClan(playerid)), 1000000); GivePlayerWeapon(playerid, GetClanWeapon6(GetPlayerClan(playerid)), 1000000); }[/pawn] C:\Users\Sebastian\Desktop\Cristian\RSE\gamemodes\RSE.pwn(1511) : error 029: invalid expression, assumed zero C:\Users\Sebastian\Desktop\Cristian\RSE\gamemodes\RSE.pwn(1511) : error 001: expected token: ";", but found ")" C:\Users\Sebastian\Desktop\Cristian\RSE\gamemodes\RSE.pwn(1511) : error 029: invalid expression, assumed zero C:\Users\Sebastian\Desktop\Cristian\RSE\gamemodes\RSE.pwn(1511) : fatal error 107: too many error messages on one line Linia 1511: SetPlayerColor(playerid,ClanColors[GetClanColor(GetPlayerClan(playerid))]); Rezolvat,trebuiau puse in Clan System la OnPlayerSpawn
  19. CristyRo

    Error

    [pawn]CMD:hitsound(playerid,params[]) { if(AccInfo[playerid][pVip] > 7) { SendClientMessage(playerid,0xFF0000FF, "Ding On Shot acctivated"); OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid); new issuerid; PlayerPlaySound(issuerid,17802,0.0,0.0,0.0); PlayerPlaySound(playerid,17802,0.0,0.0,0.0); return 1; } else return SendClientMessage(playerid, red, "ERROR: You must be VIP Level 10 to use this command!"); } [/pawn] LuxAdminRSE.pwn(2032) : error 004: function "OnPlayerGiveDamage" is not implemented rezolvat, trebuia facut un define si cateva variabile
×
×
  • 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.