Bladex
Membru-
Posts
146 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by Bladex
-
dai ctrl+f graurugate2, graurugate1 GetPointDistanceToPointExMorph AdminLabel si money si le stergi pe toate unde scrie the symbol is never by used
-
Poi daca ies din masina dupa un timp se respawneaza, ma puteti ajuta?
-
local variable "playermoney" shadows a variable at a preceding level
Bladex posted a question in Arhivă probleme
De la warningul accesta nu porneste sv ajutatima putin va rog frumos! D:\GM SAMP\samp03\gamemodes\newi.pwn(14522) : warning 219: local variable "playermoney" shadows a variable at a preceding level Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. aceasta este linie [pawn] new playermoney;[/pawn] acesta este de jos si de sus: d [pawn]public OnPlayerCommandText(playerid, cmdtext[]) { new string[256]; new playermoney; new sendername[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new playername[MAX_PLAYER_NAME]; new cmd[256]; new tmp[256]; new giveplayerid, moneys, idx; cmd = strtok(cmdtext, idx); new is1=0; new r=0; while(strlen(cmdtext[is1]))[/pawn] -
edit : linia de la capsonend este ultima : ))
-
sunt toate streamer si sscanf edit: am pus sv pe 0.3d si nu am pus streamer 0.3d si zice failed in log de unde sa il descarc??
-
Poi am rr windowsu am pus pe un site cu upload gm si acuma cand pornesc serveru zice : [18:53:49] Script[gamemodes/new.amx]: Run time error 19: "File or function is not found" [18:53:49] Number of vehicle models: 1 [18:53:52] --- Server Shutting Down. [18:53:52] [18:53:52] =============================== [18:53:52] sscanf plugin unloaded. [18:53:52] =============================== [18:53:49] Script[gamemodes/new.amx]: Run time error 19: "File or function is not found" [18:53:49] Number of vehicle models: 1 [18:53:52] --- Server Shutting Down. [18:53:52] [18:53:52] =============================== [18:53:52] sscanf plugin unloaded. [18:53:52] =============================== E vreo problema oare cand compielez din cauza waring-urilor ? daca da va postez si liniile D:\GM SAMP\samp03\pawno\include\JunkBuster.inc(3248) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") D:\GM SAMP\samp03\gamemodes\new.pwn(14522) : warning 219: local variable "playermoney" shadows a variable at a preceding level D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "CapsOnEnd" D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "ConsecutiveCaps" D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "IsInvalid" D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "NumOccurences" D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "TooManyCaps" D:\GM SAMP\samp03\gamemodes\new.pwn(53139) : warning 203: symbol is never used: "TooShortOnEnd" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Warnings.
-
Decand am pus gm-ul meu propriu pe 0.3d se vad obiectele invisibile , ce sa fac
-
incearc asa sus in gm pune [pawn]new nume;[/pawn] dupaia pune maii jos [pawn] { GangZoneShowForPlayer(playerid, i, TurfInfo[zColor]); GangZoneShowForPlayer(playerid, nume, 0xFF00007E); return 1; }[/pawn] iar dupa acea [pawn]{ Turfs = GangZoneCreate(TurfInfo[zMinX],TurfInfo[zMinY],TurfInfo[zMaxX],TurfInfo[zMaxY]); nume = GangZoneCreate(-2685.911, 2195.441, -2183.763, 2510.743); // pune cordonatele tale }[/pawn] incearca
-
Incearca sa pui [pawn]SetPlayerPos(playerid, coordonate)//-/save la pozitie [/pawn]
-
Poi am comanda /invite functiona bine pana acuma , daca primesti invite nu prmesti respawn! [pawn] //----------------------------------[iNVITE]------------------------------------------------ if(strcmp(cmd, "/invite", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /invite [playerid/PartOfName]"); return 1; } new para1; new ftext[20]; para1 = ReturnUser(tmp); if (PlayerInfo[playerid][pLeader] >= 1) { if(IsPlayerConnected(para1)) { if(para1 != INVALID_PLAYER_ID) { if (PlayerInfo[para1][pLeader] == 0 && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255) { if(PlayerInfo[para1][pPunish] > 0) { SendClientMessage(playerid, COLOR_GRAD2, " Can't invite him, player have FactionPunish !"); return 1; } if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Police Force"; ChosenSkin[para1] = 280; SetPlayerSkin(para1, 280); } else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "FBI/ATF"; ChosenSkin[para1] = 163; SetPlayerSkin(para1, 163); } else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "National Guard"; ChosenSkin[para1] = 285; SetPlayerSkin(para1, 285); } else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firemen/Ambulance"; ChosenSkin[para1] = 228; SetPlayerSkin(para1, 228); } else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "The Triads"; ChosenSkin[para1] = 118; SetPlayerSkin(para1, 111); } else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 6; gTeam[para1] = 6; ftext = "The Mafia"; ChosenSkin[para1] = 124; SetPlayerSkin(para1, 113); } else if(PlayerInfo[playerid][pLeader] == 7) { return 1; } else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agency"; ChosenSkin[para1] = 165; SetPlayerSkin(para1, 165); } else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "News Reporter"; ChosenSkin[para1] = 188; SetPlayerSkin(para1, 188); } else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Cab Company"; ChosenSkin[para1] = 61; SetPlayerSkin(para1, 61); } else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "School Instructors"; ChosenSkin[para1] = 271; SetPlayerSkin(para1, 271); } else if(PlayerInfo[playerid][pLeader] == 12) { PlayerInfo[para1][pTeam] = 15; gTeam[para1] = 15; ftext = "Grove Street Family"; ChosenSkin[para1] = 270; SetPlayerSkin(para1, 270); } else if(PlayerInfo[playerid][pLeader] == 13) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Los Santos Vagos"; ChosenSkin[para1] = 108; SetPlayerSkin(para1, 108); } else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "The Ballas Family"; ChosenSkin[para1] = 104; SetPlayerSkin(para1, 104); } else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "The Nang Boys"; ChosenSkin[para1] = 121; SetPlayerSkin(para1, 121); } else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 5; ftext = "Tow Car Company"; ChosenSkin[para1] = 50; SetPlayerSkin(para1, 50); } else { return 1; } GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader]; PlayerInfo[para1][pRank] = 1; PlayerInfo[para1][pFwarn] = 0; printf("AdmCmd: %s has invited %s to join %s.", sendername, giveplayer, ftext); format(string, sizeof(string), " You have Joined the %s, you were invited by Leader %s", ftext, sendername); SendClientMessage(para1, COLOR_WHITE, string); format(string, sizeof(string), " You have Invited %s to join the %s.", giveplayer,ftext); SendClientMessage(playerid, COLOR_WHITE, string); } else { SendClientMessage(playerid, COLOR_GREY, " That player is currently Wanted/a Different Team/or already a Family Member."); return 1; } } }//not connected } else { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command(leaders only)!"); } } return 1; } [/pawn]
-
am amx si am dat copy paste la nume ..
-
poi am pus gamemodul pe host mergea totul bine , dupa care l-am sters si am tot aceasi numa am mai aduagat cate ceva , asa dupa am pus sa porneasca si nu mai pornea SERVER CFG: echo Executing Server Config... lanmode 1 rcon_password maxplayers 50 port 7777 hostname SA-MP 0.3 Server bind 195.225.59.115 gamemode0 shift 1 filterscripts base gl_actions gl_property gl_realtime announce 0 query 1 weburl www.sa-mp.com maxnpc 0 onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 SI SERVER_LOG tot asta spune::===>>> I couldn't load any gamemode scripts. Please verify your server.cfg [18:34:57] It needs a gamemode0 line at the very least.
-
da, am pus folderele si fisierele : scriptfiles,fliterscript,gamemodes,plugins,server.cfg
-
am pus serverul pe ftp si gamehostul mi-a dat un site unde pot da rr sa la sv etc.. acolo este server.cfg si daca schimb numele la gamemode0 grandlarc 1 in numele care vreau si am pus in ftp nu porneste
-
Salutare.Vreau sa va intreb dupa ce m-am logat pe FileZilla cum pot pune gamemodul pe host?Mutlumesc
-
in fs am asta si in server.cfg am pus la maxnpc 1 dar nu functioneaza
-
Am creat un NPC mode dar vehicolul nu se misca :| [pawn] #include <a_samp> new trensf; public OnGameModeInit() { ConnectNPC("Tren_SF","trensf"); trensf = AddStaticVehicle(538,-1943.3127,158.0254,27.0006,357.3614,121,50); print(" Tren SF-LV-LS Loaded!"); print(" Made by bladex"); return 1; } public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "Tren_SF", true)) { PutPlayerInVehicle(playerid, trensf, 0); } return 1; } return 1; }[/pawn]
-
Salut vreau sa va intreb cum as putea face ca un vehicul sa se miste automat ?
-
punel intro causta cmdtext nush bft
-
cauta linia ctrl+f [pawn] public ShowStats(playerid,targetid)[/pawn]
-
Nu ai streamer plugin !