Vlady
Membru-
Posts
86 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by Vlady
-
Ce DeAMX visezi? Daca nu stii sa ma ajuti atunci nu te baga!
-
1) Objects.pwn(19) : error 025: function heading differs from prototype public OnPlayerEditObject(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { if(arg1) { Streamer_CallbackHook(2, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } return 1; } 2) Objects.pwn(28) : error 025: function heading differs from prototype public OnPlayerSelectObject(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { if(arg1 == 2) { Streamer_CallbackHook(3, arg0, arg1, arg2, arg3, arg4, arg5, arg6); } return 1; } 3) Objects.pwn(37925) : error 001: expected token: "-identifier-", but found "new" 4) Objects.pwn(37927) : error 029: invalid expression, assumed zero 5) Objects.pwn(37930) : warning 213: tag mismatch for(new var0 = 0, new var1, new var2 = 0, new var3 = 4, Streamer_GetUpperBound(0), var1 = Streamer_GetUpperBound(0); var0 != var1; var0++) { if(IsValidDynamicObject(var0)) { new var2 = 0; Streamer_GetFloatData(0, var0, 38, var2); Streamer_SetFloatData(0, var0, 13, var2); } } erorile 3,4 si 5 sunt pt. asta de sus Cum le rezolv?
-
Are banned oricum ).
-
Foarte bun System-ul , 10/10.
-
Acum am rezolvat,am folosit if,multumesc mult.
-
Eu vreau doar cand scriu /maxammo sa-mi dea gloante maxime doar la anumite sloturi de arme nu la toate ...
-
Nick: Vlady Problema: Imi da niste erori. Erori / warnings: C:\Documents and Settings\Vlady-Valy\Desktop\Others\Romania Stunt Galaxy\filterscripts\LuxAdmin.pwn(16175) : warning 211: possibly unintended assignment C:\Documents and Settings\Vlady-Valy\Desktop\Others\Romania Stunt Galaxy\filterscripts\LuxAdmin.pwn(16175) : error 001: expected token: ")", but found ";" C:\Documents and Settings\Vlady-Valy\Desktop\Others\Romania Stunt Galaxy\filterscripts\LuxAdmin.pwn(16175) : error 036: empty statement C:\Documents and Settings\Vlady-Valy\Desktop\Others\Romania Stunt Galaxy\filterscripts\LuxAdmin.pwn(16175) : error 001: expected token: ";", but found ")" C:\Documents and Settings\Vlady-Valy\Desktop\Others\Romania Stunt Galaxy\filterscripts\LuxAdmin.pwn(16175) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Lini/script: stock MaxAmmo(playerid) { new slot, weap, ammo; for(slot = 0; slot = 1; slot = 2; slot = 3; slot = 4; slot = 5; slot = 6; slot = 9; slot = 10; slot = 11; slot = 12; slot++); { GetPlayerWeaponData(playerid, slot, weap, ammo); if(IsValidWeapon(weap)) { GivePlayerWeapon(playerid, weap, 99999); } } return 1; } Linia este for(slot = 0; slot = 1; slot = 2; slot = 3; slot = 4; slot = 5; slot = 6; slot = 9; slot = 10; slot = 11; slot = 12; slot++); Ai incercat sa rezolvi singur ?: Nush cum
-
Pune te rog si UCP,multumesc.
-
Merge,multumesc foarte mult,puteti da T/C.
-
Nick:Vlady Problema: else DOSActivat[playerid] = true; Erori / warnings: C:\Documents and Settings\Vlady-Valy\Desktop\Others\Server\filterscripts\LuxAdmin.pwn(2681) : error 029: invalid expression, assumed zero Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Lini/script: CMD:dos(playerid, params[]) { if(AccInfo[playerid][pVip] > 6 || IsPlayerAdmin(playerid)) //------------------------------------------------------------------------------ if(DOSActivat[playerid] == false) else DOSActivat[playerid] = true; GameTextForPlayer(playerid, "~w~~h~ding on shot~n~~g~~h~activated", 3000, 3); //------------------------------------------------------------------------------ DOSActivat[playerid] = false; GameTextForPlayer(playerid, "~w~~h~ding on shot~n~~r~~h~deactivated", 3000, 3); //------------------------------------------------------------------------------ return 1; } Ai incercat sa rezolvi singur ?: Nu ,ca nush Bun. Iti multumesc [glow=black,2,300]WopsS[/glow] ca te-ai deranjat sa-mi faci comanda Dos(Ding on Shot),am facut tot ce ai zis tu dar aici la comanda imi da o eroare.
-
Folositor script-ul.
-
Cu placere ,sper s-o pui in practica .
-
Sti ce ar fi tare sa faci in V3 (Daca vrei),sa apara un dialog cu o caseta unde sa introduci orice Hex Color ,de exemplu: Scri FF0000,si culoarea numelui tau se va schimba in Rosu,si tot asa,sper ca ma intelegi. Nush daca o vei face dar ti-am dat o idee .
-
Cum fac o comanda /tempban pe ZCMD? tempban = Ban Temporar
-
La OnFilterScriptExit am rezolvat ,multumesc. Mai trebuie la OnPlayerSpawn .
-
Nush cum naiba trebuie sa rezolv aceste erori care apar in consola.. ( [debug] Run time error 4: "Array index out of bounds" [17:15:32] [debug] Accessing element at index 11 past array upper bound 9 [17:15:32] [debug] AMX backtrace: [17:15:32] [debug] #0 00011798 in public OnPlayerSpawn () from LuxAdmin.amx public OnPlayerSpawn(playerid) { //printf("|- %s(%d) Spawned -|", PlayerName2(playerid), playerid); //-------------------------------------------------------------------------- // Player Frozen (Prevent scape) //-------------------------------------------------------------------------- AccInfo[playerid][Spawned] = 1; //-------------------------------------------------------------------------- if(AccInfo[playerid][Frozen] == 1) { TogglePlayerControllable(playerid,false); return SendClientMessage(playerid,red,"|- You can't escape your punishment. You Are Still Frozen -|"); } //-------------------------------------------------------------------------- // Player Jail (Prevent scape) //-------------------------------------------------------------------------- if(AccInfo[playerid][Jailed] == 1) { AccInfo[playerid][God] = 1; ResetPlayerWeapons(playerid); SetTimerEx("JailPlayer", 3000, false, "i", playerid); return SendClientMessage(playerid,red,"|- You can't escape your punishment. You Are Still In Jail -|"); } //-------------------------------------------------------------------------- //Player Clan Weapons Anulat //-------------------------------------------------------------------------- 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); } //-------------------------------------------------------------------------- //Server Spawn's //-------------------------------------------------------------------------- new RandomPSpawn = random(7); switch(RandomPSpawn) { case 0: SetPlayerPos(playerid, 404.8082,2448.4775,16.1368); //AA case 1: SetPlayerPos(playerid, 1857.1230,-2281.7593,17.0903); //LSAir case 2: SetPlayerPos(playerid, -1374.3136,-257.4903,19.3436); //SFAir case 3: SetPlayerPos(playerid, 1590.6398,1448.2764,14.3303); //LVAir case 4: SetPlayerPos(playerid, -2335.8875,-1626.1935,483.3552); //Chilliad case 5: SetPlayerPos(playerid, -527.418701,2023.649047,48.490310); //Stunt Dam case 6: SetPlayerPos(playerid, -2633.8022,1359.0215,6.6751); //SFStunt } //-------------------------------------------------------------------------- //Setting Player Skin //-------------------------------------------------------------------------- if(AccInfo[playerid][Level] > 0 || AccInfo[playerid][pVip] > 0) { if(AccInfo[playerid][USkin] == 1) { SetPlayerSkin(playerid, AccInfo[playerid][FSkin]); } } //-------------------------------------------------------------------------- //Holds System //-------------------------------------------------------------------------- if(AccInfo[playerid][WMode] == 0) { if(AccInfo[playerid][UHolds] == 1) { for(new i; i < 10; i++) { RemovePlayerAttachedObject(playerid,i); } LoadPlayerHolds(playerid); } else { for(new i; i < 10; i++) { RemovePlayerAttachedObject(playerid,i); } } } else if(AccInfo[playerid][WMode] == 1) { SetPlayerWeather(playerid, 40); SetPlayerTime(playerid, 0, 0); //---------------------------------------------------------------------- for(new i; i < 10; i++) { RemovePlayerAttachedObject(playerid, i); } //---------------------------------------------------------------------- SetPlayerAttachedObject(playerid, 0, 19065, 2, 0.121128, 0.023578, 0.001139, 222.540847, 90.773872, 211.130859, 1.098305, 1.122310, 1.106640 ); // SantaHat SetPlayerAttachedObject(playerid, 1, 18864, 2); // Snow //---------------------------------------------------------------------- } return 1; } Si asta: [debug] Run time error 4: "Array index out of bounds" [17:16:17] [debug] Accessing element at index 996 past array upper bound 995 [17:16:17] [debug] AMX backtrace: [17:16:17] [debug] #0 0000d2c0 in public OnFilterScriptExit () from LuxAdmin.amx public OnFilterScriptExit() { //-------------------------------------------------------------------------- BUD::Exit(); KillTimer(PingTimer); KillTimer(GodTimer); //-------------------------------------------------------------------------- for(new i = 0; i <= MAX_HOUSES; i++) { DestroyPickup(HousePickup[i]); } //-------------------------------------------------------------------------- BuildCreatedVehicle = (BuildCreatedVehicle == 0x01) ? (DestroyVehicle(BuildVehicle), BuildCreatedVehicle = 0x00) : (DestroyVehicle(BuildVehicle), BuildCreatedVehicle = 0x00); KillTimer(rCounter); KillTimer(CountTimer); Loop(i, MAX_PLAYERS) { DisablePlayerRaceCheckpoint(i); PlayerTextDrawDestroy(i, RInfo[i][0]); PlayerTextDrawDestroy(i, RInfo[i][1]); PlayerTextDrawDestroy(i, RInfo[i][2]); PlayerTextDrawDestroy(i, RInfo[i][3]); PlayerTextDrawDestroy(i, RInfo[i][4]); PlayerTextDrawDestroy(i, RInfo[i][5]); PlayerTextDrawDestroy(i, RInfo[i][6]); PlayerTextDrawDestroy(i, RInfo[i][7]); DestroyVehicle(CreatedRaceVeh[i]); Joined[i] = false; KillTimer(InfoTimer[i]); } JoinCount = 0; FinishCount = 0; return 1; }
-
Aia cu return am rezolvato ,dar cu comanda si functia,nu , ma mai ajuta careva?
-
Salut,am facut o comanda prin care playerii dintr-un clan vad prin Announce mesajul scris de lideri. Uita-ti comanda: CMD:cscreen(playerid, params[]) { new string[129], pName[24]; GetPlayerName(playerid, pName,sizeof(pName)); if(GetPlayerClanRank(playerid) < 4) return SendClientMessage(playerid, COLOR_RED, "{FF0000}ERROR: You have to be Clan Leader to use this comamnd!"); if(isnull(params)) return SendClientMessage(playerid,COLOR_ORANGE, "USAGE: /cscreen [Text]"); format(string, sizeof(string), "~r~~h~%s~n~~w~%s", pName, params); SendAnnounceToClanMembers(playerid, string, 3000, 4) return ( 1 ); } Si functia: stock SendAnnounceToClanMembers(playerid, string[], 3000, 4) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerAnyClanMember(playerid) == 1) { if(IsPlayerConnected(i) == 1) { if(IsPlayerClanMember(playerid, GetPlayerClan(playerid)) && IsPlayerClanMember(i, GetPlayerClan(i))) { if(strcmp(GetPlayerClan(playerid), GetPlayerClan(i), true, 30) == 0) { GameTextForPlayer(i, string, 3000, 4); } } } } } return ( 1 ); } Si imi da niste erori si warnings si nush cum sa le rezolv. C:\Documents and Settings\Vlady-Valy\Desktop\Others\Server\filterscripts\Createclan.pwn(884) : warning 202: number of arguments does not match definition C:\Documents and Settings\Vlady-Valy\Desktop\Others\Server\filterscripts\Createclan.pwn(884) : warning 202: number of arguments does not match definition C:\Documents and Settings\Vlady-Valy\Desktop\Others\Server\filterscripts\Createclan.pwn(885) : error 001: expected token: ";", but found "return" C:\Documents and Settings\Vlady-Valy\Desktop\Others\Server\filterscripts\Createclan.pwn(1826) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
-
Cele cu format .exe au virusi ,noroc ca le-am sters ). ON: Naspa edit 1/10.
-
Poate daca schimbi plus-urile alea in altceva .. merge.