Extassy
Membru-
Posts
12 -
Joined
-
Last visited
Never
Extassy's Achievements
-
Poftim aici comanda /su sper ca ti-am fost de ajutor /*if(strcmp(cmd, "/suspect", true) == 0 || strcmp(cmd, "/su", true) == 0) { if(IsPlayerConnected(playerid)) { if(OnDuty[playerid] != 1 && PlayerInfo[playerid][pMember] == 1) { SendClientMessage(playerid, COLOR_GREY, " You are not on Duty!"); return 1; } if(PlayerTied[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " you can`t use this command because you are tied!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{D580FE}Foloseste:{FFFFFF} (/su)spect [playerid/PartOfName] [crime discription]"); return 1; } giveplayerid = ReturnUser(tmp); if (gTeam[playerid] == 2 || IsACop(playerid)) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if (gTeam[giveplayerid] != 2) { 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, "{D580FE}Foloseste:{FFFFFF} (/su)spect [playerid/PartOfName] [crime text]"); return 1; } if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 3; } else { WantedPoints[giveplayerid]+= 2; } SetPlayerCriminal(giveplayerid,playerid, result); return 1; } else { SendClientMessage(playerid, COLOR_GRAD2, " You can't suspect a Cop !"); } } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, " You are not a Cop / FBI / National Guard !"); } } return 1; }*/ //------------------------------------------------------------------------------ if(strcmp(cmd, "/suspect", true) == 0 || strcmp(cmd, "/su", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /(su)spect [playerid/PartOfName] [wantedlevel] [reason]"); return 1; } new playa; new wanted; playa = ReturnUser(tmp); tmp = strtok(cmdtext, idx); wanted = strval(tmp); if (IsACop(playerid)) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { 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: /(su)spect [playerid/PartOfName] [wlevel] [reason]"); return 1; } if (gTeam[playa] == 2 || IsACop(playa)) { SendClientMessage(playerid, COLOR_WHITE, " You can't suspect cops!"); return 1; } if(PlayerInfo[playa][pJailed] >= 1) { SendClientMessage(playerid, COLOR_WHITE, " This player is already in Jail!"); return 1; } if(wanted > 10) { SendClientMessage(playerid, COLOR_WHITE, " Wanted level must be between 1 and 10 !"); return 1; } if(wanted <= 0) { SendClientMessage(playerid, COLOR_WHITE, " Wanted level must be between 1 and 10 !"); return 1; } new check = WantedLevel[playa] + wanted; if(check > 10) { SendClientMessage(playerid, COLOR_WHITE, " You went over the wanted level limit of 10 !"); return 1; } new string1[128]; GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); WantedLevel[playa] += wanted; WantedPoints[playa] += wanted*2; format(string, sizeof(string), "You've commited a Crime ( %s ). Reporter: %s.",result,sendername); SendClientMessage(playa, COLOR_LIGHTRED, string); if(PlayerInfo[playa][pClubMember] == 1 || PlayerInfo[playa][pClubLeader] == 1) { new vehicle; vehicle = GetPlayerVehicleID(playa); if(IsAnNFSCar(vehicle)) { GiveBounty(playa, 500); } } format(string1, sizeof(string1), "Current Wanted Level: %d", WantedLevel[playa]); SendClientMessage(playa, COLOR_YELLOW, string1); for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pMember] == 1||PlayerInfo[i][pLeader] == 1||PlayerInfo[i][pMember] == 2||PlayerInfo[i][pLeader] == 2||PlayerInfo[i][pMember] == 3||PlayerInfo[i][pLeader] == 3) { format(string, sizeof(string), "HQ: All Units APB: Reporter: %s",sendername); SendClientMessage(i, TEAM_BLUE_COLOR, string); format(string, sizeof(string), "HQ: Crime: %s, Suspect: %s, WantedLevel: %d",result,giveplayer,WantedLevel[playa]); SendClientMessage(i, TEAM_BLUE_COLOR, string); } } } } } } else { SendClientMessage(playerid, COLOR_WHITE, "You are not a Cop !"); } } return 1; }
-
Hai sa-ti spun Dar sistemul pe care il ai tu este doar pentru nrg nu este pentru toate masinile Uite aici Sistemul meu si la mn merge si park si tot si la rr se distrug nrg-urile automat if(strcmp(cmd, "/v", true) == 0 || strcmp(cmd, "/vehicle", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You need to login first ! "); return 1; } if(PlayerInfo[playerid][pCarBan] == 1) { SendClientMessage(playerid, COLOR_GREY, " You'r banned to use /v commands ! "); return 1; } if(PlayerInfo[playerid][pLevel] >= 5 && PlayerInfo[playerid][pConnectTime] >= 0) { new x_nr[64]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]"); SendClientMessage(playerid, COLOR_WHITE, "Available names: park, color, create"); return 1; } else if(strcmp(x_nr,"park",true) == 0) { if(PlayerInfo[playerid][pCar] == 9999) { SendClientMessage(playerid, COLOR_GREY, "You don't own a car."); return 1; } if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new carid = GetPlayerVehicleID(playerid); if(carid == PlayerInfo[playerid][pCar]) { new Float:x,Float:y,Float:z; new Float:a; GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z); GetVehicleZAngle(carid, a); CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; format(string, sizeof(string), "You have saved your vehicle at the position %f.01, %f.01, %f.01, Remember it, it will respawn here!",x,y,z); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); SaveCar(carid); } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in your car."); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in a car."); return 1; } return 1; } else if(strcmp(x_nr,"color",true) == 0) { if(PlayerInfo[playerid][pCar] == 9999) { SendClientMessage(playerid, COLOR_GREY,"* You don't have a vehicle to respray."); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "{00A1FF}USAGE{FFFFFF}: /v color [ColorOneID] [ColorTwoID] (50.000$ cost)"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 && color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "{00A1FF}USAGE{FFFFFF}: /v color [ColorOneID] [ColorTwoID] (50.000$ cost)"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 && color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } if(GetPlayerMoney(playerid) < 50000) { SendClientMessage(playerid, COLOR_GREY, " Nu ai suficienti bani!"); return 1; } if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new vehid = GetPlayerVehicleID(playerid); if(CarInfo[vehid][cID] == PlayerInfo[playerid][pCar]) { CarInfo[vehid][cColorOne] = color1; CarInfo[vehid][cColorTwo] = color2; ChangeVehicleColor(vehid, color1, color2); GivePlayerMoney(playerid, -50000); SendClientMessage(playerid, COLOR_WHITE, "Ti-ai modificat culoarea!"); SaveCar(vehid); } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in your car."); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in a car."); return 1; } return 1; } else if(strcmp(x_nr,"create",true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: create [color1] [color2]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 && color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: create [color1] [color2]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 && color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } new car = 0; if(PlayerInfo[playerid][pCar] == 9999) { } else return SendClientMessage(playerid, COLOR_GREY,"* You already own a car!"); for(new h = 721; h < sizeof(CarInfo); h++) { if(CarInfo[h][cOwned] == 0) { car = h; h = 1300; } } new Float:AX,Float:AY,Float:AZ,Float:Angle; GetPlayerPos(playerid, AX,AY,AZ); GetPlayerFacingAngle(playerid, Angle); format(string, 128, "cars/%d.ini", car); new playername2[MAX_PLAYER_NAME]; playername2 = PlayerName(playerid); if(dini_Exists(string)) { CarInfo[car][cID] = car; CarInfo[car][cOwned] = 1; strmid(CarInfo[car][cOwner], playername2, 0, strlen(playername2), 999); CarInfo[car][cLocationx] = AX; CarInfo[car][cLocationy] = AY; CarInfo[car][cLocationz] = AZ; CarInfo[car][cAngle] = Angle; CarInfo[car][cModel] = 522; CarInfo[car][cColorOne] = color1; CarInfo[car][cColorTwo] = color2; SaveCar(car); } else { dini_Create(string); CarInfo[car][cID] = car; CarInfo[car][cOwned] = 1; strmid(CarInfo[car][cOwner], playername2, 0, strlen(playername2), 999); CarInfo[car][cLocationx] = AX; CarInfo[car][cLocationy] = AY; CarInfo[car][cLocationz] = AZ; CarInfo[car][cAngle] = Angle; CarInfo[car][cModel] = 522; CarInfo[car][cColorOne] = color1; CarInfo[car][cColorTwo] = color2; SaveCar(car); } PlayerInfo[playerid][pCar] = car; ownedcar[car] = CreateVehicle(522,CarInfo[car][cLocationx],CarInfo[car][cLocationy],CarInfo[car][cLocationz],CarInfo[car][cAngle],CarInfo[car][cColorOne],CarInfo[car][cColorTwo],300); SendClientMessage(playerid, COLOR_GRAD2, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_GRAD2, "Type /vehicle to view the vehicle manual!"); GameTextForPlayer(playerid, "~p~Congratulations~n~~w~Don't forget where you placed you'r new ~b~car!", 5000, 3); } else { SendClientMessage(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]"); SendClientMessage(playerid, COLOR_WHITE, "Available names: color, park, create"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "Trebuie sa ai level 5 pe server!"); return 1; } } return 1; }
-
ms a mers Puteti da tc
-
Salut am si eu o problema..... nu stiu cum sa pun timer la stuntevent dak stiti va rog sa ma ajutati Astea sunt liniile de la stunt unde cred ca trb pus timeru if(strcmp(cmd,"/stuntevent",true)==0) { if(IsPlayerConnected(playerid)) { if(NRGStarted == 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE,"This event isn't started at the moment!"); return 1; } if(PlayerOnMission[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " You're on mission right now,you can't hold any Materials Packages!"); return 1; } SetPlayerCheckpoint(playerid, NRGStuntX,NRGStuntY,NRGStuntZ, 3.0); IsAtStuntEvent[playerid] = 1; SendClientMessage(playerid, COLOR_LIGHTBLUE, "{FFFFFF}••• Ai intrat la {FF9900}StuntEVENT. {FFFFFF}Du-te la checkpoint si fa {FF9900}stunt-ul!"); return 1; } } if(strcmp(cmd,"/startstuntevent",true)==0) { if(IsPlayerConnected(playerid) && PlayerInfo[playerid][pAdmin] >= 1337) { StartNewNRGEvent(); return 1; } } if(strcmp(cmd,"/stopstuntevent",true)==0) { if(IsPlayerConnected(playerid)) { IsAtStuntEvent[playerid] = 0; SendClientMessage(playerid, COLOR_GREY, "Ai oprit {FF9900}StuntEvent-ul!"); return 1; } }
-
uite aici comanda care sigur iti v-a merge ca eu o folosesc si merge perfect if(strcmp(cmd, "/v", true) == 0 || strcmp(cmd, "/vehicle", true) == 0) // By Extassy { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You need to login first ! "); return 1; } if(PlayerInfo[playerid][pCarBan] == 1) { SendClientMessage(playerid, COLOR_GREY, " You'r banned to use /v commands ! "); return 1; } if(PlayerInfo[playerid][pLevel] >= 5 && PlayerInfo[playerid][pConnectTime] >= 0) { new x_nr[64]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]"); SendClientMessage(playerid, COLOR_WHITE, "Available names: park, color, create"); return 1; } else if(strcmp(x_nr,"park",true) == 0) { if(PlayerInfo[playerid][pCar] == 9999) { SendClientMessage(playerid, COLOR_GREY, "You don't own a car."); return 1; } if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new carid = GetPlayerVehicleID(playerid); if(carid == PlayerInfo[playerid][pCar]) { new Float:x,Float:y,Float:z; new Float:a; GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z); GetVehicleZAngle(carid, a); CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; format(string, sizeof(string), "You have saved your vehicle at the position %f.01, %f.01, %f.01, Remember it, it will respawn here!",x,y,z); SendClientMessage(playerid, TEAM_GROVE_COLOR, string); SaveCar(carid); } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in your car."); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in a car."); return 1; } return 1; } else if(strcmp(x_nr,"color",true) == 0) { if(PlayerInfo[playerid][pCar] == 9999) { SendClientMessage(playerid, COLOR_GREY,"* You don't have a vehicle to respray."); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "{00A1FF}USAGE{FFFFFF}: /v color [ColorOneID] [ColorTwoID] (50.000$ cost)"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 && color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "{00A1FF}USAGE{FFFFFF}: /v color [ColorOneID] [ColorTwoID] (50.000$ cost)"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 && color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } if(GetPlayerMoney(playerid) < 50000) { SendClientMessage(playerid, COLOR_GREY, " Nu ai suficienti bani!"); return 1; } if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { new vehid = GetPlayerVehicleID(playerid); if(CarInfo[vehid][cID] == PlayerInfo[playerid][pCar]) { CarInfo[vehid][cColorOne] = color1; CarInfo[vehid][cColorTwo] = color2; ChangeVehicleColor(vehid, color1, color2); GivePlayerMoney(playerid, -50000); SendClientMessage(playerid, COLOR_WHITE, "Ti-ai modificat culoarea!"); SaveCar(vehid); } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in your car."); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, "You'r not in a car."); return 1; } return 1; } else if(strcmp(x_nr,"create",true) == 0) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: create [color1] [color2]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 && color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: create [color1] [color2]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 && color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } new car = 0; if(PlayerInfo[playerid][pCar] == 9999) { } else return SendClientMessage(playerid, COLOR_GREY,"* You already own a car!"); for(new h = 721; h < sizeof(CarInfo); h++) { if(CarInfo[h][cOwned] == 0) { car = h; h = 1300; } } new Float:AX,Float:AY,Float:AZ,Float:Angle; GetPlayerPos(playerid, AX,AY,AZ); GetPlayerFacingAngle(playerid, Angle); format(string, 128, "cars/%d.ini", car); new playername2[MAX_PLAYER_NAME]; playername2 = PlayerName(playerid); if(dini_Exists(string)) { CarInfo[car][cID] = car; CarInfo[car][cOwned] = 1; strmid(CarInfo[car][cOwner], playername2, 0, strlen(playername2), 999); CarInfo[car][cLocationx] = AX; CarInfo[car][cLocationy] = AY; CarInfo[car][cLocationz] = AZ; CarInfo[car][cAngle] = Angle; CarInfo[car][cModel] = 522; CarInfo[car][cColorOne] = color1; CarInfo[car][cColorTwo] = color2; SaveCar(car); } else { dini_Create(string); CarInfo[car][cID] = car; CarInfo[car][cOwned] = 1; strmid(CarInfo[car][cOwner], playername2, 0, strlen(playername2), 999); CarInfo[car][cLocationx] = AX; CarInfo[car][cLocationy] = AY; CarInfo[car][cLocationz] = AZ; CarInfo[car][cAngle] = Angle; CarInfo[car][cModel] = 522; CarInfo[car][cColorOne] = color1; CarInfo[car][cColorTwo] = color2; SaveCar(car); } PlayerInfo[playerid][pCar] = car; ownedcar[car] = CreateVehicle(522,CarInfo[car][cLocationx],CarInfo[car][cLocationy],CarInfo[car][cLocationz],CarInfo[car][cAngle],CarInfo[car][cColorOne],CarInfo[car][cColorTwo],300); SendClientMessage(playerid, COLOR_GRAD2, "Congratulations on your new purchase!"); SendClientMessage(playerid, COLOR_GRAD2, "Type /vehicle to view the vehicle manual!"); GameTextForPlayer(playerid, "~p~Congratulations~n~~w~Don't forget where you placed you'r new ~b~car!", 5000, 3); } else { SendClientMessage(playerid, COLOR_WHITE, "HINT: (/v)ehicle [name]"); SendClientMessage(playerid, COLOR_WHITE, "Available names: color, park, create"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "Trebuie sa ai level 5 pe server!"); return 1; } } return 1; }
-
asa deci problema : Salut am si eu o problema cu un fs de gg event La compilare imi da erorile astea: C:\Users\And\Desktop\gg.pwn(9) : error 070: rational number support was not enabled C:\Users\And\Desktop\gg.pwn(48) : warning 235: public function lacks forward declaration (symbol "SetPlayerSpawn") C:\Users\And\Desktop\gg.pwn(50) : error 017: undefined symbol "IsPlayerConnected" C:\Users\And\Desktop\gg.pwn(52) : error 031: unknown directive C:\Users\And\Desktop\gg.pwn(52) : warning 215: expression has no effect C:\Users\And\Desktop\gg.pwn(52) : error 001: expected token: ";", but found ")" C:\Users\And\Desktop\gg.pwn(52) : error 029: invalid expression, assumed zero C:\Users\And\Desktop\gg.pwn(52) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. Iar liniile cu erorile sunt acestea: Linia 9 : {-382.9082, 2257.2000, 42.4844, 92.0125}, Linia 50 if(IsPlayerConnected(playerid)) Linia 52 if(PlayerInfo[playerid][pInGG] == 1 && IsGunGame)
-
Salut am si eu o problema cu un fs de gg event La compilare imi da erorile astea: C:\Users\And\Desktop\gg.pwn(9) : error 070: rational number support was not enabled C:\Users\And\Desktop\gg.pwn(48) : warning 235: public function lacks forward declaration (symbol "SetPlayerSpawn") C:\Users\And\Desktop\gg.pwn(50) : error 017: undefined symbol "IsPlayerConnected" C:\Users\And\Desktop\gg.pwn(52) : error 031: unknown directive C:\Users\And\Desktop\gg.pwn(52) : warning 215: expression has no effect C:\Users\And\Desktop\gg.pwn(52) : error 001: expected token: ";", but found ")" C:\Users\And\Desktop\gg.pwn(52) : error 029: invalid expression, assumed zero C:\Users\And\Desktop\gg.pwn(52) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. Iar fs-ul este acesta Removed
-
uitati astea sunt erorile care le primesc C:\Users\And\Desktop\samp03x_svr_R1-2_win32\filterscripts\MP3.pwn(70) : error 014: invalid statement; not in switch C:\Users\And\Desktop\samp03x_svr_R1-2_win32\filterscripts\MP3.pwn(70) : warning 215: expression has no effect C:\Users\And\Desktop\samp03x_svr_R1-2_win32\filterscripts\MP3.pwn(70) : error 001: expected token: ";", but found ":" C:\Users\And\Desktop\samp03x_svr_R1-2_win32\filterscripts\MP3.pwn(70) : error 029: invalid expression, assumed zero C:\Users\And\Desktop\samp03x_svr_R1-2_win32\filterscripts\MP3.pwn(70) : 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. iar acesta este fs-ul : #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Radio System is starting .."); print(" Radio system has started."); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { print("\n--------------------------------------"); print(" Radio System has been shut down due to a Filterscript unload/Exit."); print("--------------------------------------\n"); return 1; } #else main() { print("\n----------------------------------"); print(" Radio Tutorial by SaSWeB. Powered by SaSWeB Tutorials "); print("----------------------------------\n"); } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/rmusic", cmdtext, true, 10) == 0) //Change this one to whatever you want. { ShowPlayerDialog(playerid,90,DIALOG_STYLE_LIST,"{F81414}Radio PcSNeT:","{3399ff}\n{3399ff}1){FFFFFF}ProFM\n{3399ff}2){FFFFFF}Radio Party\n{3399ff}3){FFFFFF}Radio Greu de Difuzat\n{3399ff}4){FFFFFF}Radio Gangsta Manele\n{3399ff}5){FFFFFF}Radio AzNetGalati", "Select", "Exit"); //We use the line above to make the Dialog show, and as you notice we want DIALOG_STYLE_LIST because it will be a list so we can choose from. //As you notice everytime you add \r\n it adds a new line to the list, which means in our tutorial adds a new radio station to the list. //Make sure you change the ID of the Dialog, we don't want it to mix with other dialogs in your server, I set it to 90. return 1; } if (strcmp("/stopradio", cmdtext, true, 10) == 0) { StopAudioStreamForPlayer(playerid);//This is the function we need to stop the audio from streaming the music. SendClientMessage(playerid, 0x42F3F198, "Ai oprit Radio-ul."); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { case 90: //Dont Remove This one { if(!response)// This is When Player Choose "Cancel" { SendClientMessage(playerid, 0x42F3F198, "Ai inchis Radio!");//This one sends a message when you close the dialog using (Cancel). return 1; } switch(listitem)//Lists And Radio Steaming Locations... { } case 1: // ProFM ; { PlayAudioStreamForPlayer(playerid, "http://stream.profm.ro:8012/profm.mp3"); SendClientMessage(playerid, 0x42F3F198, "Te-ai conectat la ProFM, Scrie /stopradio pentru a inchide Radio-ul."); } case 2: // Radio Party { PlayAudioStreamForPlayer(playerid, "http://live.activeradio.ro:9000/listen.pls"); SendClientMessage(playerid, 0x42F3F198, "Te-ai conectat la Radio Party, Scrie /stopradio pentru a inchide Radio-ul."); } case 3: // Radio AzNetGalati { PlayAudioStreamForPlayer(playerid, "http://http://www.aznetgalati.tk:8800"); SendClientMessage(playerid, 0x42F3F198, "Te-ai conectat la Radio AzNetGalati, Scrie /stopradio pentru a inchide Radio-ul."); } case 4: // Radio Manele { PlayAudioStreamForPlayer(playerid, "http://live.radiogangsta.ro:8800"); SendClientMessage(playerid, 0x42F3F198, "Te-ai conectat la Radio Gangsta Manele, Scrie /stopradio pentru a inchide Radio-ul."); } } } } //return 1;
-
Mai multe erori: C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3843) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3847) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3851) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3855) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3859) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3863) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3867) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3871) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3883) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3887) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3891) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3895) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3899) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3911) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3915) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3919) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3931) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3935) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3939) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3943) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(4358) : error 004: function "SendIRCMessage" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(4380) : error 004: function "SendIRCMessage" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(4392) : error 004: function "SaveCK" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(4422) : error 004: function "SavePapers" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(4689) : error 004: function "OOCOff" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(4703) : error 004: function "OOCOff" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
-
Salut all . Am si eu o problema.....atunci cand incerc sa compilesc gm-ul imi da 4 erori si nu stu cum as putea sa le rezolv Erorile: C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3843) : error 029: invalid expression, assumed zero C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3843) : warning 215: expression has no effect C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3843) : error 001: expected token: ";", but found "if" C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3843) : error 004: function "PlayerToPoint" is not implemented C:\Users\And\Desktop\samp03x_svr_R1-2_win32\gamemodes\gfn.pwn(3843) : 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. si liniile unde se afla acesta: public IsAtGasStation(playerid) { if(IsPlayerConnected(playerid)) else if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906)); ///////// linia 3843 {//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; } Help pls 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; } } return 0; }
-
F bun bravo 5/5
