Jump to content

gabbii

Membru
  • Posts

    150
  • Joined

  • Last visited

    Never

Everything posted by gabbii

  1. Am in GM Niste masini bagate de la factiuni si de la mai multe iar cand urc in ele scrie sa le dau /v buy si mereu se baga in cars.cfg sub forma 0,0.000000,0.000000,0.000000,0.000000,0,1,The Staff,Staff,0,,0,0 Ce pot face?
  2. Cum pot face cand dai/fill la benzinarie sa nuti mai ia o multime de bani? } if(strcmp(cmd, "/fill", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtGasStation(playerid)) { if(Gas[idcar] <= 99) { TogglePlayerControllable(playerid, 0); GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Re-Fueling Vehicle, please wait",2000,3); SetTimer("Fillup",RefuelWait,0); Refueling[playerid] = 1; } else { GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~Gas can is full",2000,3); } } else { SendClientMessage(playerid,COLOR_GREY," You're not at a Gas Station!"); } } return 1; }
  3. este greu sa faci masini nelimitate personale, pentru ca la fiecare masina tre sa faci comanda pt a incuia masina... de ex :/v lock, /v lock 1, /v lock 2, /v lock 3 etc....
  4. As vrea si eu 1 comanda /rfc (respawn faction car).
  5. gabbii

    MySQL

    cum pot pune acest mysql pe linux, adica cu extensia .so?
  6. gabbii

    /skip

    Cum pot face comanda skip doar pentru Premium Account si sa zica cand nai Premium Account sa zica "You do not have premium account!" [pawn] if(strcmp(cmd, "/skip", true) == 0) { if(IsPlayerConnected(playerid)) { if(TutTime[playerid] >= 1) { TutTime[playerid] = 0; PlayerInfo[playerid][pTut] = 1; gNews[playerid] = 0; gFam[playerid] = 0; TogglePlayerControllable(playerid, 1); MedicBill[playerid] = 0; SetPlayerSpawn(playerid); SetCameraBehindPlayer(playerid); SetPlayerVirtualWorld(playerid,0); SendClientMessage(playerid, COLOR_YELLOW, "|____ Tutorial: Skip ____|"); SendClientMessage(playerid, COLOR_YELLOW2, "Tutorial-ul a fost oprit."); SendClientMessage(playerid, COLOR_YELLOW2, "Echipa Mortal-zone va ureaza distractie placuta!"); } }[/pawn]
  7. Cum as putea face cand scri sa zicem de exemplu /setststt sa zica ca comanda este necunoscuta?
  8. gabbii

    /ban

    Si cu comanda /ban cum o pot face sa nu poti da ban la un admin de level mai mare? [pawn] if(strcmp(cmd, "/ban", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]"); return 1; } if(bantime[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD2, "Are you trying to ban this server?"); new year, month,day; getdate(year, month, day); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); BanLog(string); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); new playersip[256]; GetPlayerIp(giveplayerid,playersip, sizeof(playersip)); SendClientMessage(giveplayerid,COLOR_GREEN,"|___________[bAN INFO]___________|"); format(string, sizeof(string), "Numele tau este: %s.",giveplayer); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "IP-ul tau este: %s.",playersip); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "Ai fost banat de: %s.",sendername); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "Motiv: %s.",(result)); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "Data: %d/%d/%d",day,month,year); SendClientMessage(giveplayerid, COLOR_RED, string); SendClientMessage(giveplayerid,COLOR_GREEN,"|___________[bAN INFO]___________|"); bantime[playerid] = 1; SetTimerEx("bant", 10000, 0, "%d", playerid); PlayerInfo[giveplayerid][pLocked] = 1; Ban(giveplayerid); return 1; } }//not connected } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; } [/pawn]
  9. gabbii

    /ban

    si mai am nevoie de ajutor la comanda /unban numi scoate banul... [pawn]if (strcmp(cmd, "/unban", true)==0) { if ((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 1337) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /unban [PlayerName]"); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "AdmWarning: %s has unbanned %s", sendername,tmp); ABroadCast(COLOR_YELLOW,string,1); format(string, 256, "AdmWarning: %s has unbanned %s", sendername,tmp); printf(string); format(string,sizeof(string),"%s.ini",tmp); fremove(string); SendClientMessage(playerid, COLOR_GRAD1, "Player Unbanned"); } return 1; }[/pawn]
  10. gabbii

    /ban

    imi da erorile astea D:\Internet\Server Sa-Mp\samp03csvr_R2-2_win32\gamemodes\mz.pwn(37249) : error 029: invalid expression, assumed zero D:\Internet\Server Sa-Mp\samp03csvr_R2-2_win32\gamemodes\mz.pwn(37249) : error 001: expected token: ")", but found ";" D:\Internet\Server Sa-Mp\samp03csvr_R2-2_win32\gamemodes\mz.pwn(37249) : error 036: empty statement D:\Internet\Server Sa-Mp\samp03csvr_R2-2_win32\gamemodes\mz.pwn(37249) : 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.
  11. gabbii

    /ban

    Cum pot face comanda /ban sa nu poti da ban la un admin de level mai mare? [pawn] if(strcmp(cmd, "/ban", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /ban [playerid/PartOfName] [reason]"); return 1; } if(bantime[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD2, "Are you trying to ban this server?"); new year, month,day; getdate(year, month, day); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); BanLog(string); format(string, sizeof(string), "AdmCmd: %s was banned by %s, reason: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); new playersip[256]; GetPlayerIp(giveplayerid,playersip, sizeof(playersip)); SendClientMessage(giveplayerid,COLOR_GREEN,"|___________[bAN INFO]___________|"); format(string, sizeof(string), "Numele tau este: %s.",giveplayer); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "IP-ul tau este: %s.",playersip); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "Ai fost banat de: %s.",sendername); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "Motiv: %s.",(result)); SendClientMessage(giveplayerid, COLOR_RED, string); format(string, sizeof(string), "Data: %d/%d/%d",day,month,year); SendClientMessage(giveplayerid, COLOR_RED, string); SendClientMessage(giveplayerid,COLOR_GREEN,"|___________[bAN INFO]___________|"); bantime[playerid] = 1; SetTimerEx("bant", 10000, 0, "%d", playerid); PlayerInfo[giveplayerid][pLocked] = 1; Ban(giveplayerid); return 1; } }//not connected } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }[/pawn]
  12. gabbii

    Comanda /pm

    gata am rezolvat ms mult pt ajutor:X
  13. gabbii

    Comanda /pm

    mia dat erorile astea C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mz.pwn(27291) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mz.pwn(27291) : error 001: expected token: ")", but found ";" C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mz.pwn(27291) : error 036: empty statement C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mz.pwn(27291) : 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.
  14. gabbii

    Comanda /pm

    Folosesc sistemul de la GodFather Am incercat asta, e bine? [pawn] if(strcmp(cmd, "/pm", true) == 0 || strcmp(cmd, "/pme", true) == 0) { if (PlayerInfo[playerid][pAdmin] >= 1) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/p)me [playerid/PartOfName] [text]"); return 1; } giveplayerid = ReturnUser(tmp); if (IsPlayerConnected(giveplayerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { if(giveplayerid != INVALID_PLAYER_ID) { if(HidePM[giveplayerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " That player is blocking messages!"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); if(giveplayerid == playerid) { format(string, sizeof(string), "* %s mutters something to himself.", sendername); ProxDetector(5.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/p)me [playerid/PartOfName] [text]"); return 1; } format(string, sizeof(string), "[iD:%d] %s pm: %s", playerid, sendername, (result)); SendClientMessage(giveplayerid, 0xBBA033AA, string); format(string, sizeof(string), "PM sent to [iD:%d]%s: %s", giveplayerid, giveplayer, (result)); SendClientMessage(playerid, 0xE5C43EAA, string); format(string, sizeof(string), "%s pm to %s: %s", sendername, giveplayer, (result)); PmLog(string); return 1; } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } } return 1; }[/pawn] Io as vrea sa fac cand un player vrea sa dea si nu are admin sa ii zica ca nu esti admin...
  15. Cum fac comanda /pm doar pentru admini? [pawn]//----------------------------------[PM]----------------------------------------------- if(strcmp(cmd, "/pm", true) == 0 || strcmp(cmd, "/pme", true) == 0) { if(IsPlayerConnected(playerid))if (PlayerInfo[playerid][pAdmin] >= 1) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/p)me [playerid/PartOfName] [text]"); return 1; } giveplayerid = ReturnUser(tmp); if (IsPlayerConnected(giveplayerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { if(giveplayerid != INVALID_PLAYER_ID) { if(HidePM[giveplayerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " That player is blocking messages!"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); if(giveplayerid == playerid) { format(string, sizeof(string), "* %s mutters something to himself.", sendername); ProxDetector(5.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); } new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/p)me [playerid/PartOfName] [text]"); return 1; } format(string, sizeof(string), "[iD:%d] %s pm: %s", playerid, sendername, (result)); SendClientMessage(giveplayerid, 0xBBA033AA, string); format(string, sizeof(string), "PM sent to [iD:%d]%s: %s", giveplayerid, giveplayer, (result)); SendClientMessage(playerid, 0xE5C43EAA, string); format(string, sizeof(string), "%s pm to %s: %s", sendername, giveplayer, (result)); PmLog(string); return 1; } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } } return 1; }[/pawn]
  16. gata am rezolvat problema era de la o } cum ati zis voi ..:X, ms mult pt ajutor
  17. Astea sunt.... [pawn] SafeGivePlayerWeapon(i, 29, 999); TogglePlayerControllable(i, 1); SendClientMessage(i, COLOR_YELLOW, "Meciul de Paintball a inceput, 4 minute ramase."); PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0); } } } SetTimer("PaintballEnded", 240000, 0); return 1; } public PaintballEnded() { new string[256]; new name[MAX_PLAYER_NAME]; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerPaintballing != 0) { if(IsPlayerConnected(PaintballWinner)) { GetPlayerName(PaintballWinner, name, sizeof(name)); format(string,sizeof(string), "** %s a castigat mecil de Paintball cu %d victime **",name,PaintballWinnerKills); SendClientMessage(i, COLOR_WHITE, string); } SafeResetPlayerWeapons(i); PlayerPaintballing = 0; SetPlayerPos(i, SBizzInfo[10][sbEntranceX],SBizzInfo[10][sbEntranceY],SBizzInfo[10][sbEntranceZ]); } } } AnnouncedPaintballRound = 0; PaintballRound = 0; return 1; } public PrepareKarting() { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerKarting != 0 && PlayerInKart != 0) { CP = 9; SetPlayerCheckpoint(i,2308.3540,-2354.0039,12.6842,8.0); SendClientMessage(i, COLOR_YELLOW, "Kart Race will start in 20 seconds, go to the starting line."); } } } SetTimer("StartKarting", 20000, 0); return 1; } public StartKarting() { KartingRound = 1; StartingKartRound = 0; EndingKartRound = 0; SecondKartWinner = 999; ThirdKartWinner = 999; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerKarting != 0 && PlayerInKart != 0) { CP = 10; SendClientMessage(i, COLOR_YELLOW, "Green light, go go go !"); PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0); SetPlayerCheckpoint(i,2308.3540,-2354.0039,12.6842,8.0); } } } SetTimer("KartingEnded", 240000, 0); return 1; } public KartingEnded() { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerKarting != 0 && PlayerInKart != 0) { CP = 0; DisablePlayerCheckpoint(i); } } } AnnouncedKartRound = 0; KartingRound = 0; return 1; } public DollahScoreUpdate() { new LevScore; for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { LevScore = PlayerInfo[pLevel]; SetPlayerScore(i, LevScore); } } return 1; } LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp) { gPlayerUsingLoopingAnim[playerid] = 1; ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp); TextDrawShowForPlayer(playerid,txtAnimHelper); } public Encrypt(string[]) { for(new x=0; x < strlen(string); x++) { string[x] += (3^x) * (x % 15); if(string[x] > (0xff)) { string[x] -= 256; } } return 1; } stock right(source[], len) { new retval[MAX_STRING], srclen; srclen = strlen(source); strmid(retval, source, srclen - len, srclen, MAX_STRING); return retval; } stock sscanf(string[], format[], {Float,_}:...) { new formatPos = 0, stringPos = 0, paramPos = 2, paramCount = numargs(); while (paramPos < paramCount && string[stringPos]) { switch (format[formatPos++]) { case '\0': { return 0; } case 'i', 'd': { new neg = 1, num = 0, ch = string[stringPos]; if (ch == '-') { neg = -1; ch = string[++stringPos]; } do { stringPos++; if (ch >= '0' && ch <= '9') { num = (num * 10) + (ch - '0'); } else { return 1; } } while ((ch = string[stringPos]) && ch != ' '); setarg(paramPos, 0, num * neg); } case 'h', 'x': { new ch, num = 0; while ((ch = string[stringPos++])) { switch (ch) { case 'x', 'X': { num = 0; continue; } case '0' .. '9': { num = (num << 4) | (ch - '0'); } case 'a' .. 'f': { num = (num << 4) | (ch - ('a' - 10)); } case 'A' .. 'F': { num = (num << 4) | (ch - ('A' - 10)); } case ' ': { break; } default: { return 1; } } } setarg(paramPos, 0, num); } case 'c': { setarg(paramPos, 0, string[stringPos++]); } case 'f': { new tmp[25]; strmid(tmp, string, stringPos, stringPos+sizeof(tmp)-2); setarg(paramPos, 0, _:floatstr(tmp)); } case 's', 'z': { new i = 0, ch; if (format[formatPos]) { while ((ch = string[stringPos++]) && ch != ' ') { setarg(paramPos, i++, ch); } if (!i) return 1; } else { while ((ch = string[stringPos++])) { setarg(paramPos, i++, ch); } } stringPos--; setarg(paramPos, i, '\0'); } default: { continue; } } while (string[stringPos] && string[stringPos] != ' ') { stringPos++; } while (string[stringPos] == ' ') { stringPos++; } paramPos++; } while (format[formatPos] == 'z') formatPos++; return format[formatPos]; } public Spectator() { new string[256]; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(KickPlayer==1) { Kick(i); } else if(KickPlayer==2) { Ban(i); } //if(GetPlayerPing(i) >= 500 && PlayerInfo[pAdmin] < 1) { Kick(i); } if(Spectate < 253 && Spectate != 255) { SetPlayerColor(i,COLOR_SPEC); TogglePlayerControllable(i, 0); new targetid = Spectate; if(IsPlayerConnected(targetid)) { TogglePlayerSpectating(i, 1); if(PlayerInfo[pAdmin] >= 1) { new Float:health; new name[MAX_PLAYER_NAME]; GetPlayerName(targetid, name, sizeof(name)); GetPlayerHealth(targetid, health); format(string, sizeof(string), "~n~~n~~n~~n~~n~~n~~y~%s(ID:%d)~n~~y~health:%.1f",name,targetid,health); GameTextForPlayer(i, string, 2500, 3); } if(IsPlayerInAnyVehicle(targetid)) { new carid = GetPlayerVehicleID(targetid); PlayerSpectateVehicle(i, carid); } else { PlayerSpectatePlayer(i, targetid); } if(GetPlayerInterior(targetid) == 0) { SetPlayerInterior(i,0); } else if(GetPlayerInterior(targetid) > 0) { SetPlayerInterior(i,GetPlayerInterior(targetid)); } }//Targetid connected } if(Spectate == 253) { TogglePlayerControllable(i, 1); TogglePlayerSpectating(i, 0); SetPlayerInterior(i,Unspec[sPint]); PlayerInfo[pInt] = Unspec[sPint]; PlayerInfo[pLocal] = Unspec[sLocal]; Unspec[sLocal] = 255; SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[sPx], Unspec[sPy], Unspec[sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1); gTeam = PlayerInfo[pTeam]; SetPlayerToTeamColor(i); MedicBill = 0; if(PlayerInfo[pDonateRank] > 0) { SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[Coords][0], Unspec[Coords][1], Unspec[Coords][2], 10.0, -1, -1, -1, -1, -1, -1); SpawnPlayer(i); SetCameraBehindPlayer(i); } else { SpawnPlayer(i); } Spectate = 255; } if(Spectate == 254) { TogglePlayerControllable(i, 1); SetPlayerInterior(i,Unspec[sPint]); PlayerInfo[pInt] = Unspec[sPint]; PlayerInfo[pLocal] = Unspec[sLocal]; SetPlayerPos(i, Unspec[sPx], Unspec[sPy], Unspec[sPz]); Spectate = 255; } if(Spectate == 256) { SetPlayerToTeamColor(i); Spectate = 255; } if(Spectate == 257) { Spectate = 254; } } } } //------------------------------------------------------------------------------------------------------ public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(gTeam[playerid] >= 1||gTeam[playerid] >= 3||gTeam[playerid] >= 4) { if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pMember]==3) {} else { //WantedPoints[playerid]+=2; //SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle"); new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); } } if (IsNgCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==1||PlayerInfo[playerid][pMember]==2||PlayerInfo[playerid][pMember]==3) {} else { //WantedPoints[playerid]+=2; //SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle"); new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); } } if (IsAnAmbulance(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { } else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Stealing An Ambulance"); } } if (IsATank(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==3) {} else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Stealing A Tank"); SendClientMessage(playerid, COLOR_GREY,"You don't know how to drive it yet."); } } if(IsAnOwnableCar(vehicleid) && CarInfo[vehicleid][cLock] == 1 && CarInfo[vehicleid][cOwned] == 1) { if(PlayerInfo[playerid][pAdmin] >= 5 && AdminDuty[playerid] == 1) { } else { new Float:cx, Float:cy, Float:cz; GetPlayerPos(playerid, cx, cy, cz); SetPlayerPos(playerid, cx, cy, cz); } } } return 1; } public IsAnInstructor(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==11) { return 1; } if(leader==11) { return 1; } } return 0; } public IsAMember(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==5 || member==6 || member==8 || member==12 || member==13 || member==14 || member==15) { return 1; } if(leader==5 || leader==6 || leader==8 || leader==12 || leader==13 || leader==14 || leader==15) { return 1; } } return 0; } public IsACop(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1 || member==2 || member==3) { return 1; } else if(leader==1 || leader==2 || leader==3) { return 1; } } return 0; } public IsAGangMember(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==5 || member==6 || member==12 || member==13 || member==14 || member==15) { return 1; } else if(leader==5 || leader==6 || leader==12 || leader==13 || leader==14 ||leader==15) { return 1; } } return 0; } public IsClanMember(playerid) { if(IsPlayerConnected(playerid)) { new cleader = PlayerInfo[playerid][pLeader]; new cmember = PlayerInfo[playerid][pMember]; if(cmember==1) { return 1; } else if(cleader==1) { return 1; } } return 0; } public IsMayor(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==7) { return 1; } else if(leader==7) { return 1; } } return 0; } public IsAPDMember(playerid) { if(IsPlayerConnected(playerid)) { new leader = PlayerInfo[playerid][pLeader]; new member = PlayerInfo[playerid][pMember]; if(member==1) { return 1; } else if(leader==1) { return 1; } } return 0; } public IsAnOwnableCar(vehicleid) { if(vehicleid >= 184 && vehicleid <= 308) { return 1; } return 0; } public IsAtDealership(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(50,playerid,1689.1055,-1015.0319,23.9063) || PlayerToPoint(50,playerid,1642.4335,-1025.0067,23.8984) || PlayerToPoint(50,playerid,1639.1080,-1096.0895,23.9063) || PlayerToPoint(50,playerid,1579.5927,-1020.6734,23.9063)) { return 1; } } return 0; } public IsAtADPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(3.0,playerid,847.6656,-1043.4241,25.4944) || PlayerToPoint(3.0,playerid,2127.5808,2378.2695,10.8203)) { return 1; } } return 0; } public IsAtCarrental(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(30.0,playerid,1696.5543,-1053.4685,23.9063)) { return 1; } } return 0; } public IsAtClothShop(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047)) {//Binco & Suburban return 1; } else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047)) {//Zip & Victim return 1; } } return 0; } public IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391)) {//LS return 1; } else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175)) {//SF return 1; } else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484)) {//Between LS and SF return 1; } else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625)) {//LV return 1; } else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015)) {//Dillimore return 1; } } return 0; } public IsAtFishPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359)) {//Fishplace at the bigwheel return 1; } else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359)) {//Fishplace at the bigwheel return 1; } } return 0; } public IsAtCookPlace(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589)) {//Cluckin Bell return 1; } else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078)) {//Burgershot return 1; } else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922)) {//Well Stacked Pizza return 1; } } return 0; } public IsAtBar(playerid) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797) || PlayerToPoint(6.5,playerid,2191.8809,1604.4807,1005.0625) || PlayerToPoint(6.5,playerid,1477.0769,-1412.3546,38.7762)) {//In grove street bar (with girlfriend), and in Havanna return 1; } else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734)) {//PIG Pen[/pawn]
  18. acum tre sa iau tot gm-ul la mana:(( sa vad ce si unde am gresit.
  19. Cum pot scapa de aceste erori? C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3045) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3046) : error 004: function "SafeGivePlayerWeapon" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3073) : error 004: function "SafeResetPlayerWeapons" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3596) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3608) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3620) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3632) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3636) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3648) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3652) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3656) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3660) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3664) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3668) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3672) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3676) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3688) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3692) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3696) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3700) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3704) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3716) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3720) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3724) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3736) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3740) : error 004: function "PlayerToPoint" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Cum sa inplementez astea ca sa nu mai dea error? Va rog eu mult sa ma ajutati:X
  20. Tot nu merge, lasatil asa... ca oricum am editat GM din nou de la 0, ms oricum.
  21. Da mie imi da eroare mereu doar la linia asta if(IsPlayerAttachedObjectSlotUsed(playerid,1) RemovePlayerAttachedObject(playerid,1);
  22. Tot nu merge acum imi da alte erori.. C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2890) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2890) : warning 215: expression has no effect C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2890) : error 001: expected token: ";", but found ")" C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2890) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2890) : fatal error 107: too many error messages on one line
  23. Cum pot scapa de erorile astea? C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : fatal error 107: too many error messages on one line Eroarea este la 2894: //--------------------------------------------------------------------------------------------------------- 2895: PutRiotShieldOnBack(playerid) 2896: { 2897: if(IsPlayerAttachedObjectSlotUsed(playerid,1) (RemovePlayerAttachedObject(playerid,1)); 2898: SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1); 2899: } 2900: 2901: PutRiotShieldOnArm(playerid) 2901: { 2902: if(IsPlayerAttachedObjectSlotUsed(playerid,1) (RemovePlayerAttachedObject(playerid,1)); 2903: SetPlayerAttachedObject(playerid, 1, 18637, 4, 0.3, 0, 0, 0, 170, 270, 1, 1, 1); 2904: } 2905: 2906: GiveFlashLight(playerid) 2907: { 2908: if(IsPlayerAttachedObjectSlotUsed(playerid,2) (RemovePlayerAttachedObject(playerid,2)); 2909: SetPlayerAttachedObject(playerid, 2,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1); 2910: } 2911: 2912: GiveTazer(playerid) 2912: { 2913: if(IsPlayerAttachedObjectSlotUsed(playerid,2) RemovePlayerAttachedObject(playerid,2)); 2914: SetPlayerAttachedObject(playerid, 2,18642, 5, 0.12, 0.02, -0.05, 0, 0, 45,1,1,1); 2915: } 2916: 2917: public SearchingHit(playerid) 2918: { 2919: new string[256]; 2920: new giveplayer[MAX_PLAYER_NAME]; 2921: new searchhit = 0; 2922: for(new i=0; i<MAX_PLAYERS; i++) 2923: { 2924: if(IsPlayerConnected(i)) 2925: { if(searchhit == 0) { if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMember] != 8) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); searchhit = 1; hitfound = 1; hitid = i; for(new k=0; k<MAX_PLAYERS; k++) { if(IsPlayerConnected(k)) { if(PlayerInfo[k][pMember] == 8 || PlayerInfo[k][pLeader] == 8) { SendClientMessage(k, COLOR_WHITE, "|__________________ Hitman Agency News __________________|"); SendClientMessage(k, COLOR_DBLUE, "*** Incoming Message: A Hit has become available. ***"); format(string, sizeof(string), "Person: %s ID: %d Value: $%d", giveplayer, i, PlayerInfo[i][pHeadValue]); SendClientMessage(k, COLOR_DBLUE, string); SendClientMessage(k, COLOR_YELLOW, "Use Givehit hitmanid, to assign the Contract to one of the Hitmans."); SendClientMessage(k, COLOR_WHITE, "|________________________________________________________|"); } } } return 0; } } } } if(searchhit == 0) { SendClientMessage(playerid, COLOR_GREY, " No Contracts available !"); } return 0; } HELP! nu stiu ce sa mai fac..
  24. Filezila nu e bun, folositi windows pt upload are de 10 ori viteza mai mare decat filezila!
  25. Cum pot scapa de erorile astea? C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : error 029: invalid expression, assumed zero C:\Documents and Settings\AsusPC\Desktop\egammer\samp03\gamemodes\eGamer.pwn(2897) : fatal error 107: too many error messages on one line Eroarea este la 2894: //--------------------------------------------------------------------------------------------------------- 2895: PutRiotShieldOnBack(playerid) 2896: { 2897: if(IsPlayerAttachedObjectSlotUsed(playerid,1) (RemovePlayerAttachedObject(playerid,1)); 2898: SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1); 2899: } 2900: 2901: PutRiotShieldOnArm(playerid) 2901: { 2902: if(IsPlayerAttachedObjectSlotUsed(playerid,1) (RemovePlayerAttachedObject(playerid,1)); 2903: SetPlayerAttachedObject(playerid, 1, 18637, 4, 0.3, 0, 0, 0, 170, 270, 1, 1, 1); 2904: } 2905: 2906: GiveFlashLight(playerid) 2907: { 2908: if(IsPlayerAttachedObjectSlotUsed(playerid,2) (RemovePlayerAttachedObject(playerid,2)); 2909: SetPlayerAttachedObject(playerid, 2,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1); 2910: } 2911: 2912: GiveTazer(playerid) 2912: { 2913: if(IsPlayerAttachedObjectSlotUsed(playerid,2) RemovePlayerAttachedObject(playerid,2)); 2914: SetPlayerAttachedObject(playerid, 2,18642, 5, 0.12, 0.02, -0.05, 0, 0, 45,1,1,1); 2915: } 2916: 2917: public SearchingHit(playerid) 2918: { 2919: new string[256]; 2920: new giveplayer[MAX_PLAYER_NAME]; 2921: new searchhit = 0; 2922: for(new i=0; i<MAX_PLAYERS; i++) 2923: { 2924: if(IsPlayerConnected(i)) 2925: { if(searchhit == 0) { if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMember] != 8) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); searchhit = 1; hitfound = 1; hitid = i; for(new k=0; k<MAX_PLAYERS; k++) { if(IsPlayerConnected(k)) { if(PlayerInfo[k][pMember] == 8 || PlayerInfo[k][pLeader] == 8) { SendClientMessage(k, COLOR_WHITE, "|__________________ Hitman Agency News __________________|"); SendClientMessage(k, COLOR_DBLUE, "*** Incoming Message: A Hit has become available. ***"); format(string, sizeof(string), "Person: %s ID: %d Value: $%d", giveplayer, i, PlayerInfo[i][pHeadValue]); SendClientMessage(k, COLOR_DBLUE, string); SendClientMessage(k, COLOR_YELLOW, "Use Givehit hitmanid, to assign the Contract to one of the Hitmans."); SendClientMessage(k, COLOR_WHITE, "|________________________________________________________|"); } } } return 0; } } } } if(searchhit == 0) { SendClientMessage(playerid, COLOR_GREY, " No Contracts available !"); } return 0; } HELP! nu stiu ce sa mai fac..
×
×
  • 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.