Jump to content

FeVosFeR

Membru
  • Posts

    50
  • Joined

  • Last visited

Everything posted by FeVosFeR

  1. Salut! Am si eu aceasta comanda: Cand folosesc un link de pe YouTube nu merge, dar cand folosesc un link pe care e incarcata o melodie merge, va rog sa ma ajutati.
  2. Multumesc mult! Mersi pentru timpu acordat.. Mi-am dat seama cum trebuie sa fac.
  3. Poti vorbi pentru cei ce incep sa invete a scripta? =]]
  4. Nu gasesc Gamemodeuri care are una dintre aceste comenzi.. Ma poti ajuta cu o denumire a unui gm?
  5. Salut! Cum as putea face comanda [/asellallbiz] si [/asellallhouse]? Cele 2 ar trebui sa seteze "Owner = 0" si "Owner = AdmBot" la toate casele de pe server. Va rog, ajutati-ma.
  6. Salutare! Cum as putea sa sterg un obiect de pe gamemode? P.S: Acel obiect este de la San Andreas, mai exact poarta de la NG, am o poarta care se deschide si dupa ce se deschide mai este un gard si as vrea sa il sterg, cum as putea?
  7. Salut! As vrea sa imi dea cineva comanda [/areafixveh] care repara vehiculele pe o anumita raza. Multumesc! Folosesc gamemode BigZone.
  8. { if(strfind(inputtext, "%", true) != -1) { SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: Sistem anti-flood by FeVosFeR"); ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Sistem anti-flood", "Sistem anti-flood", "OK", "Exit"); return 1; } Tot la OnDialogResponse
  9. Imi da multe erori... Dai si mie toata functia?
  10. La OnPlayerText nu gasesc unde se trimit mesajele. Gasesc doar anti-reclama.
  11. Salutare! Am nevoie de un admin tag, gen daca is admin 7 [ scripter ] cand scriu in chat sa scrie: [SCRIPTER] FeVosFeR says: .... Folosesc gamemode BigZone, as vrea tot, cu define-uri.
  12. /makeadminoff - sa dea admin level ... cand jucatorul respectiv este offline, va rog. Folosesc gamemode BigZone
  13. O pun in loc de comanda sau in loc de OnPlayerCommandText?
  14. Salutare! Am vrut sa fac comanda [/skip] de pe episodul lui Edison Tuts (LINK VIDEO), am reusit sa scriu exact cum a scris si el, doar ca mi-a dat o eroare. Eroare: Pe mine nu ma intereseaza a doua eroare, ci prima care impiedica compilarea. LINIA: Vreau sa precizez ca folosesc gamemode BigZone. Comanda :
  15. Salutare! Am vrut sa fac comanda [/skip] de pe episodul lui Edison Tuts (LINK VIDEO), am reusit sa scriu exact cum a scris si el, doar ca mi-a dat o eroare. Eroare: Pe mine nu ma intereseaza a doua eroare, ci prima care impiedica compilarea. LINIA: Vreau sa precizez ca folosesc gamemode BigZone. Comanda :
  16. Salutare! Am vrut sa fac comanda [/skip] de pe episodul lui Edison Tuts (LINK VIDEO), am reusit sa scriu exact cum a scris si el, doar ca mi-a dat o eroare. Eroare: Pe mine nu ma intereseaza a doua eroare, ci prima care impiedica compilarea. LINIA: Vreau sa precizez ca folosesc gamemode BigZone. Comanda :
  17. CMD:fpk(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if (PlayerInfo[playerid][pAdmin] >= 4) { new id,string[256],giveplayer[30],sendername[MAX_PLAYER_NAME],reason[64],fpunish; if(sscanf(params, "uds[64]", id, fpunish, reason)) return SCM(playerid,COLOR_WHITE,"{FF9900}Scrie: {33CCFF}/fpk <Name/Playerid> <FPunish> <Reason>"); GetPlayerName(id, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(IsPlayerConnected(id)) { if(id != INVALID_PLAYER_ID) { new string2[500],query[500]; if(fpunish > 0) { format(string, sizeof(string), "* You have been uninvited by Admin %s from faction %s (rank %d) after %d days, with %d FP. Reason: %s.",sendername,NumeFactiune(PlayerInfo[id][pMember]),PlayerInfo[id][pRank],PlayerInfo[id][pFactionTime],fpunish,reason); SendClientMessage(id, COLOR_YELLOW, string); format(string, sizeof(string), "%s was uninvited by Admin %s from faction %s (rank %d) after %d days, with %d FP. Reason: %s.",giveplayer,sendername,NumeFactiune(PlayerInfo[id][pMember]),PlayerInfo[id][pRank],PlayerInfo[id][pFactionTime],fpunish,reason); ABroadCast(COLOR_LIGHTRED,string,1); format(string2, sizeof(string2), "%s was uninvited by Admin %s from faction %s (rank %d) after %d days, with %d FP. Reason: %s.", giveplayer,sendername,DynamicFactions[PlayerInfo[id][pMember]][fName],PlayerInfo[id][pRank],PlayerInfo[id][pFactionTime],fpunish,reason); mysql_format(SQL, query, sizeof(query), "INSERT INTO faction_logs (`text`,`player`,`leader`) VALUES ('%s','%d','%d')", string2, PlayerInfo[id][pSQLID], PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL,query,"",""); PlayerInfo[id][pFpunish] = fpunish; } else if(fpunish < 1) { format(string, sizeof(string), "* You have been uninvited by Admin %s from faction %s (rank %d) after %d days, without FP. Reason: %s.",sendername,NumeFactiune(PlayerInfo[id][pMember]),PlayerInfo[id][pRank],PlayerInfo[id][pFactionTime],reason); SendClientMessage(id, COLOR_YELLOW, string); format(string, sizeof(string), "%s was uninvited by Admin %s from faction %s (rank %d) after %d days, without FP. Reason: %s.",giveplayer,sendername,NumeFactiune(PlayerInfo[id][pMember]),PlayerInfo[id][pRank],PlayerInfo[id][pFactionTime],reason); ABroadCast(COLOR_LIGHTRED,string,1); format(string2, sizeof(string2), "%s was uninvited by Admin %s from faction %s (rank %d) after %d days, without FP. Reason: %s.", giveplayer,sendername,DynamicFactions[PlayerInfo[id][pMember]][fName],PlayerInfo[id][pRank],PlayerInfo[id][pFactionTime],reason); mysql_format(SQL, query, sizeof(query), "INSERT INTO faction_logs (`text`,`player`,`leader`) VALUES ('%s','%d','%d')", string2, PlayerInfo[id][pSQLID], PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL,query,"",""); PlayerInfo[id][pFpunish] = 0; } PlayerInfo[id][pMember] = 0; PlayerInfo[id][pLeader] = 0; PlayerInfo[id][pRank] = 0; PlayerInfo[id][pFACWarns] = 0; PlayerInfo[id][pFactionTime] = 0; PlayerInfo[id][pModel] = 250; gTeam[id] = 3; PlayerInfo[id][pTeam] = 3; OnDuty[id] = 0; tazer[id] = 0; SetPlayerArmourEx(id, 0); SetPlayerSkin(id,PlayerInfo[id][pModel]); SpawnPlayer(id); new str[256]; mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Member`='0',`Leader`='0',`Rank`='0',`Model`='250',`FWarn`='0',`FPunish`='%d',`Team`='3', `FactionTime`='0',`ALeader`='0' WHERE `name`='%s'",PlayerInfo[id][pFpunish],PlayerInfo[id][pNormalName]); mysql_tquery(SQL,str,"",""); return 1; } } else { SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected."); } } else { SendClientMessage(playerid, COLOR_ERROR, AdminOnly); } return 1; }
  18. Rog macar sa imi dea cineva o comanda de [/skip] pentru BigZone sau sa ma invete cum sa il sterg.
  19. C:\Users\***\Desktop\BigZoneGM.pwn(19997) : warning 217: loose indentation C:\Users\***\Desktop\BigZoneGM.pwn(41584) : error 029: invalid expression, assumed zero 41584 - if(strcmp(cmdtext, "/skip", true) == 0 {} 41585 - else return 0; 1996 - mysql_tquery(SQL,str1,"",""); 1997 - return 1; 1998 - }
  20. Salutare! Folosesc GameMode-ul BigZone si in toate dialogurile, daca scrii ''%s'' serverul pica sau se restarteaza. As vrea o rezolvare pentru aceasta situatie va rog.
×
×
  • 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.