Jump to content

NuamNume

Membru
  • Content Count

    57
  • Joined

  • Last visited

Community Reputation

0 Neutru

About NuamNume

  • Rank
    Membru junior

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Nu merge oricum va multumesc mult. C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4571) : error 033: array must be indexed (variable "LoginPTD") C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4572) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4573) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4574) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4575) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4576) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4577) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4578) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4579) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4580) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4581) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4582) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4583) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4584) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4586) : error 033: array must be indexed (variable "LoginPTD") C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4587) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4588) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4589) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4590) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4591) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4592) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4593) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4594) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4595) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4596) : error 035: argument type mismatch (argument 2) C:\Users\Raul\Downloads\burned.ro\pawno\include\systems.inc(4597) : error 035: argument type mismatch (argument 2) Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. [Finished in 50.6s with exit code 1] [cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\Raul\\Downloads\\burned.ro\\gamemodes\\wa-rpg.pwn', '-;+']] [dir: C:\Users\Raul\Downloads\burned.ro\gamemodes] [path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\] Am facut exact ce a zis baffy
  2. C:\Users\Raul\Downloads\burned.ro\gamemodes\wa-rpg.pwn(2723) : error 017: undefined symbol "playertextid" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. [Finished in 68.9s with exit code 1] [cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\Raul\\Downloads\\burned.ro\\gamemodes\\wa-rpg.pwn', '-;+']] [dir: C:\Users\Raul\Downloads\burned.ro\gamemodes] [path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\]
  3. Salutare, am o problema la un sistem de logare pe textdraw. Nu am erori, dar nu ma lasa sa selectez. COD: format(string, sizeof(string), "Name: %s", GetName(playerid)); PlayerTextDrawSetString(playerid, LoginPTD[0], string); PlayerTextDrawSetString(playerid, LoginPTD[1], "Password: ~b~click"); format(string, sizeof(string), "Last Login:~n~%s", laston); PlayerTextDrawSetString(playerid, LoginPTD[2], string); for(new i = 0; i < 3; i++) PlayerTextDrawShow(playerid, LoginPTD); for(new i = 0; i < 2; i++) TextDrawShowForPlayer(playerid, LoginTD); SelectTextDraw(playerid, 0xFFFFF00FF); if(playertextid == LoginPTD[1]) ShowPlayerDialog(playerid, DIALOG_LOGIN2,DIALOG_STYLE_PASSWORD, "Login", "Insert your password in the dialog below!", "Login", "Quit"); Nu stiu daca este nevoie sa va arat mai mult, poate sa ma ajute cineva pana maine va rog?
  4. Help pls public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { if(playerInfo[playerid][pFlyLicense] == 0 && isPlane(GetPlayerVehicleID(playerid))) { sendPlayerError(playerid, "Nu ai licenta de pilot."); ClearAnimations(playerid); return true; } if(playerInfo[playerid][pBoatLicense] == 0 && isBoat(GetPlayerVehicleID(playerid))) { sendPlayerError(playerid, "Nu ai licenta de navigatie."); ClearAnimations(playerid); return true; } if(playerInfo[playerid][pDrivingLicense] == 0 && !isBike(GetPlayerVehicleID(playerid)) && !isBoat(GetPlayerVehicleID(playerid)) && !isPlane(GetPlayerVehicleID(playerid)) && GetPlayerVehicleID(playerid) != playerInfo[playerid][pExamenVehicle]) { sendPlayerError(playerid, "Nu ai licenta de condus."); ClearAnimations(playerid); return true; } GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective); if[vehicle_engine[GetPlayerVehicleID(playerid)]) SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective); if(isBike(GetPlayerVehicleID(playerid))) { SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective); vehicle_engine[GetPlayerVehicleID(playerid)] = true; } } if(newstate == PLAYER_STATE_ONFOOT || oldstate == PLAYER_STATE_DRIVER) { if(IsValidVehicle(playerInfo[playerid][pExamenVehicle])) examenFail(playerid); } return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(PRESSED(KEY_LOOK_BEHIND)) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isBike(GetPlayerVehicleID(playerid)) || GetPVarInt(playerid, "engineDeelay") != gettime()) { Command_ReProcess(playerid, "engine", false); } } if(PRESSED(KEY_ACTION)) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isBike(GetPlayerVehicleID(playerid)) || !isBoat(GetPlayerVehicleID(playerid)) || !isPlane(GetPlayerVehicleID(playerid))) { Command_ReProcess(playerid, "lights", false); } } if(PRESSED(KEY_ANALOG_DOWN)) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isBike(GetPlayerVehicleID(playerid)) || !isBoat(GetPlayerVehicleID(playerid)) || !isPlane(GetPlayerVehicleID(playerid))) { GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, objective); return true; } vehicle_boot[GetPlayerVehicleID(playerid)] = true; SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, objective); return true; } } if(PRESSED(KEY_ANALOG_UP)) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER || !isbike(GetPlayerVehicleID(playerid)) || !isBoat(GetPlayerVehicleID(playerid)) || !isPlane(GetPlayerVehicleID(playerid))) { new engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective); if(vehicle_bonnet[GetPlayerVehicleID(playerid)]) == true) { vehicle_bonnet[GetPlayerVehicleID(playerid)] = false; SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, VEHICLE_PARAMS_OFF, VEHICLE_PARAMS_OFF, objective); return true; } vehicle_bonnet[GetPlayerVehicleID(playerid)] = true; SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, VEHICLE_PARAMS_ON, VEHICLE_PARAMS_ON, objective) } } return 1; } Erori: C:\Users\Raul\Desktop\Tuts GM\pawno\include\callbacks.inc(865) : warning 219: local variable "doors" shadows a variable at a preceding level C:\Users\Raul\Desktop\Tuts GM\pawno\include\callbacks.inc(866) : warning 219: local variable "lights" shadows a variable at a preceding level C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(704) : error 017: undefined symbol "engine" C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(705) : error 017: undefined symbol "lights" C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : error 029: invalid expression, assumed zero C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : error 001: expected token: ";", but found ")" C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : error 029: invalid expression, assumed zero C:\Users\Raul\Desktop\Tuts GM\gamemodes\Tuts.pwn(706) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.10.8 Copyright (c) 1997-2006, ITB CompuPhase 6 Errors. [Finished in 2.4s with exit code 1] [cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\Raul\\Desktop\\Tuts GM\\gamemodes\\Tuts.pwn', '-;+']] [dir: C:\Users\Raul\Desktop\Tuts GM\gamemodes] [path: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\]
  5. Am uitat sa pun la plugins streamer, rezolvat
  6. File or function is not found echo Executing Server Config... lanmode 0 rcon_password parola123 maxplayers 50 port 7777 hostname Shine RPG | In progress... gamemode0 Tuts filterscripts plugins mysql.dll sscanf announce 1 chatlogging 0 weburl - onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] language RO
  7. uau ce scripter bun esti mars ma jigodie ordinara
  8. e tot ca inainte
  9. Ma poate ajuta cineva? Cand dau de ex /ban PetardaBUM1998 0 NeAuzim imi apare "syntax: /ban etc Va rog... COD: YCMD:ban(playerid, params[], help) { if(!PlayerInfo[playerid][pAdmin]) return SCM(playerid, 0xa3e080FF, "You are not an admin!"); if(GetPVarInt(playerid, "ban_cooldown") > gettime()) return SendFormatMessage(playerid, COLOR_GREY, "You need to wait %d seconds for another ban.", (GetPVarInt(playerid, "ban_cooldown") - gettime())); new userID, days, reason[64]; if(sscanf(params, "usd[64]", userID, days, reason) || days < 0) return SCM(playerid, -1, "Syntax: /ban <playerid/name> <days (0 = permanent)> <reason>"); if(!IsPlayerLogged(playerid)) return SCM(playerid, COLOR_GREY, "This player is not connected!"); if(userID == playerid) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda aspura ta."); if(PlayerInfo[playerid][pAdmin] >= PlayerInfo[playerid][pAdmin] && !strmatch(GetPlayerNameEx(playerid), "R4uL")) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda pe acel jucator."); banPlayer(userID, playerid, days, reason); return true; } se poate fast?
  10. Ma poate ajuta cineva? Cand dau de ex /ban PetardaBUM1998 0 NeAuzim imi apare "syntax: /ban etc Va rog... COD: YCMD:ban(playerid, params[], help) { if(!PlayerInfo[playerid][pAdmin]) return SCM(playerid, 0xa3e080FF, "You are not an admin!"); if(GetPVarInt(playerid, "ban_cooldown") > gettime()) return SendFormatMessage(playerid, COLOR_GREY, "You need to wait %d seconds for another ban.", (GetPVarInt(playerid, "ban_cooldown") - gettime())); new userID, days, reason[64]; if(sscanf(params, "usd[64]", userID, days, reason) || days < 0) return SCM(playerid, -1, "Syntax: /ban <playerid/name> <days (0 = permanent)> <reason>"); if(!IsPlayerLogged(playerid)) return SCM(playerid, COLOR_GREY, "This player is not connected!"); if(userID == playerid) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda aspura ta."); if(PlayerInfo[playerid][pAdmin] >= PlayerInfo[playerid][pAdmin] && !strmatch(GetPlayerNameEx(playerid), "R4uL")) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda pe acel jucator."); banPlayer(userID, playerid, days, reason); return true; }
  11. Salut, o problema in care mereu cand ma loghez, imi da payday-ul. COD: task SecondTimer[1000]() / asta nu stiu daca conteaza dar mna { new string[64]; new hour, minute, second, year, month, day; gettime(hour, minute, second); getdate(year, month, day); format(string, sizeof string, "%02d.%02d.%d~N~%02d:%02d:%02d", day, month, year, hour, minute, second); TextDrawSetString(ServerTimeTD, string); format(string, sizeof string, "T: ~Y~%d~W~~H~ Q: ~B~%d", GetServerTickRate(), mysql_unprocessed_queries()); TextDrawSetString(ServerInfoTD, string); return true; } ptask SecondPlayerTimer[1000](playerid) { if(IsPlayerPaused(playerid) || IsPlayerInRangeOfPoint(playerid, 1.0, PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ])) { PlayerInfo[playerid][pAFKSeconds] ++; } else { PlayerInfo[playerid][pAFKSeconds] = 0; } if(PlayerInfo[playerid][pAFKSeconds] < 10) { PlayerInfo[playerid][pSeconds] ++; } if(PlayerInfo[playerid][pPayday] <= gettime()) { SendClientMessage(playerid, 0x00b3b3FF, "---------------------------------------------------------"); SendFormatMessage(playerid, COLOR_WHITE, "Paycheck: $%s, Hours Played: %.2f (%.0f minutes).", FormatNumber(PlayerInfo[playerid][pLevel] * 125), (PlayerInfo[playerid][pSeconds] / 3600), (PlayerInfo[playerid][pSeconds] / 60)); SendClientMessage(playerid, 0x00b3b3FF, "---------------------------------------------------------"); PlayerInfo[playerid][pHours] += (PlayerInfo[playerid][pSeconds] / 3600); PlayerInfo[playerid][pSeconds] = 0; PlayerInfo[playerid][pPayday] = (gettime() + 3600); PlayerInfo[playerid][pRespectPoints] ++; if(PlayerInfo[playerid][pDrivingLic] > 0) PlayerInfo[playerid][pDrivingLic] --; if(PlayerInfo[playerid][pWeaponLic] > 0) PlayerInfo[playerid][pWeaponLic] --; if(PlayerInfo[playerid][pBoatLic] > 0) PlayerInfo[playerid][pBoatLic] --; if(PlayerInfo[playerid][pFlyLic] > 0) PlayerInfo[playerid][pFlyLic] --; if(PlayerInfo[playerid][pDrivingLicS] > 0) PlayerInfo[playerid][pDrivingLicS] --; if(PlayerInfo[playerid][pWeaponLicS] > 0) PlayerInfo[playerid][pWeaponLicS] --; if(PlayerInfo[playerid][pBoatLicS] > 0) PlayerInfo[playerid][pBoatLicS] --; if(PlayerInfo[playerid][pFlyLicS] > 0) PlayerInfo[playerid][pFlyLicS] --; GivePlayerMoneyEx(playerid, (PlayerInfo[playerid][pLevel] * 125)); UpdateLevelBar(playerid); mysqlQuery("UPDATE `users` SET `Hours` = '%f', `Seconds` = '0', `Payday` = '3600', `RespectPoints` = '%d' `Licenses` = '%d|%d|%d|%d|%d|%d|%d|%d' WHERE `ID` = '%d'", PlayerInfo[playerid][pHours], PlayerInfo[playerid][pRespectPoints], PlayerInfo[playerid][pSQLID]); } new string[64]; format(string, sizeof string, "Next payday in ~Y~%s", Calculate(PlayerInfo[playerid][pPayday] - gettime())); PlayerTextDrawSetString(playerid, PaydayPTD[playerid], string); GetPlayerPos(playerid, PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ]); return true; }
×
×
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.