Dekker
Membru-
Posts
123 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Everything posted by Dekker
-
Trece toate obiectele din CreateObject in CreateDynamicObject. O faci aici http://convertffs.com
-
In jur de cate obiecte ai ? Ce pluginuri mai folosesti ?
-
Downloadezi asta : http://www.sa-mp.ro/forum/index.php?topic=7004.0 Pui in folderul plugins. Si in server.cfg adaugi linia: [pawn]plugins streamer.so[/pawn] Daca serverul e pe linux (hostat) [pawn]plugins streamer[/pawn] Daca serverul e pornit pe windows.
-
Am facut o comanda de poarta , se deschide ok , dar poarta nu se inchide. Ce trebuie sa fac ca sa se inchida ?
-
Folosesti streamer? Majoritatea obiectelor tale sunt CreateDynamicObject sau CreateObject ?
-
Verifica "/v" sa nu fie vreo greseala nu stiu. Cand dai /v park ai vreo eroare ?
-
[TUTORIAL] Cele mai intalnite erori/avertizmente in pawno!
Dekker replied to DarkyTheAngel's topic in Tutoriale
Foarte folositor. Multumesc mult. -
[pawn]public OnPlayerUpdateEx(playerid) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid]) { if(IsPlayerInCar(playerid) == 1 && Seatbelt[playerid] == 0) { new Float:TempCarHealth; GetVehicleHealth(GetPlayerVehicleID(playerid), TempCarHealth); new Float:Difference = floatsub(CarHealth[playerid], TempCarHealth); if((floatcmp(CarHealth[playerid], TempCarHealth) == 1) && (floatcmp(Difference,100.0) == 1)) { Difference = floatdiv(Difference, 10.0); new Float:OldHealth; GetPlayerHealth(playerid, OldHealth); SetPlayerHealth(playerid, floatsub(OldHealth, Difference)); } CarHealth[playerid] = TempCarHealth; } else { CarHealth[playerid] = 0.0; //To aviod that a player dies when he enters a vehicle } new string3[32]; new playername3[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername3, sizeof(playername3)); format(string3, sizeof(string3), "%s.ini", playername3); new File: hFile = fopen(string3, io_write); if(IsPlayerNPC(playerid)) return 0; if (hFile) { new var[128]; format(var, 32, "Key=%s\n", PlayerInfo[playerid][pKey]);fwrite(hFile, var); PlayerInfo[playerid][pCash] = GetPlayerMoney(playerid); format(var, 32, "Level=%d\n",PlayerInfo[playerid][pLevel]);fwrite(hFile, var); format(var, 32, "AdminLevel=%d\n",PlayerInfo[playerid][pAdmin]);fwrite(hFile, var); format(var, 32, "CrDate=%d\n",PlayerInfo[playerid][pCrDate]);fwrite(hFile, var); format(var, 32, "Bans=%d\n",PlayerInfo[playerid][pBans]);fwrite(hFile, var); format(var, 32, "AccLocked=%d\n",PlayerInfo[playerid][pLocked]);fwrite(hFile, var); format(var, 32, "DonateRank=%d\n",PlayerInfo[playerid][pDonateRank]);fwrite(hFile, var); format(var, 32, "UpgradePoints=%d\n",PlayerInfo[playerid][gPupgrade]);fwrite(hFile, var); format(var, 32, "ConnectedTime=%d\n",PlayerInfo[playerid][pConnectTime]);fwrite(hFile, var); format(var, 32, "Registered=%d\n",PlayerInfo[playerid][pReg]);fwrite(hFile, var); format(var, 32, "Sex=%d\n",PlayerInfo[playerid][pSex]);fwrite(hFile, var); format(var, 32, "Age=%d\n",PlayerInfo[playerid] );fwrite(hFile, var); format(var, 32, "Origin=%d\n",PlayerInfo[playerid][pOrigin]);fwrite(hFile, var); format(var, 32, "CK=%d\n",PlayerInfo[playerid][pCK]);fwrite(hFile, var); format(var, 32, "Muted=%d\n",PlayerInfo[playerid][pMuted]);fwrite(hFile, var); format(var, 32, "Respect=%d\n",PlayerInfo[playerid][pExp]);fwrite(hFile, var); format(var, 32, "Money=%d\n",PlayerInfo[playerid][pCash]);fwrite(hFile, var); format(var, 32, "Bank=%d\n",PlayerInfo[playerid][pAccount]);fwrite(hFile, var); format(var, 32, "Crimes=%d\n",PlayerInfo[playerid][pCrimes]);fwrite(hFile, var); format(var, 32, "Kills=%d\n",PlayerInfo[playerid][pKills]);fwrite(hFile, var); format(var, 32, "Deaths=%d\n",PlayerInfo[playerid][pDeaths]);fwrite(hFile, var); format(var, 32, "Arrested=%d\n",PlayerInfo[playerid][pArrested]);fwrite(hFile, var); format(var, 32, "WantedDeaths=%d\n",PlayerInfo[playerid][pWantedDeaths]);fwrite(hFile, var); format(var, 32, "Phonebook=%d\n",PlayerInfo[playerid][pPhoneBook]);fwrite(hFile, var); format(var, 32, "LottoNr=%d\n",PlayerInfo[playerid][pLottoNr]);fwrite(hFile, var); format(var, 32, "Fishes=%d\n",PlayerInfo[playerid][pFishes]);fwrite(hFile, var); format(var, 32, "BiggestFish=%d\n",PlayerInfo[playerid][pBiggestFish]);fwrite(hFile, var); format(var, 32, "Job=%d\n",PlayerInfo[playerid][pJob]);fwrite(hFile, var); format(var, 32, "Paycheck=%d\n",PlayerInfo[playerid][pPayCheck]);fwrite(hFile, var); format(var, 32, "HeadValue=%d\n",PlayerInfo[playerid][pHeadValue]);fwrite(hFile, var); format(var, 32, "Jailed=%d\n",PlayerInfo[playerid][pJailed]);fwrite(hFile, var); format(var, 32, "JailTime=%d\n",PlayerInfo[playerid][pJailTime]);fwrite(hFile, var); format(var, 32, "BlackList=%d\n",PlayerInfo[playerid][pBlackList]);fwrite(hFile, var); format(var, 32, "MoneyClear=%d\n",PlayerInfo[playerid][pMoneyClear]);fwrite(hFile, var); format(var, 32, "BlackListTime=%d\n",PlayerInfo[playerid][pBLTime]);fwrite(hFile, var); format(var, 32, "MuteTime=%d\n",PlayerInfo[playerid][pMuteTime]);fwrite(hFile, var); format(var, 32, "Materials=%d\n",PlayerInfo[playerid][pMats]);fwrite(hFile, var); format(var, 32, "Drugs=%d\n",PlayerInfo[playerid][pDrugs]);fwrite(hFile, var); format(var, 32, "Leader=%d\n",PlayerInfo[playerid][pLeader]);fwrite(hFile, var); format(var, 32, "Member=%d\n",PlayerInfo[playerid][pMember]);fwrite(hFile, var); format(var, 32, "FMember=%d\n",PlayerInfo[playerid][pFMember]);fwrite(hFile, var); format(var, 32, "Rank=%d\n",PlayerInfo[playerid][pRank]);fwrite(hFile, var); format(var, 32, "Char=%d\n",PlayerInfo[playerid][pChar]);fwrite(hFile, var); format(var, 32, "ContractTime=%d\n",PlayerInfo[playerid][pContractTime]);fwrite(hFile, var); format(var, 32, "JobTime=%d\n",PlayerInfo[playerid][pJobTime]);fwrite(hFile, var); format(var, 32, "DetSkill=%d\n",PlayerInfo[playerid][pDetSkill]);fwrite(hFile, var); format(var, 32, "SexSkill=%d\n",PlayerInfo[playerid][pSexSkill]);fwrite(hFile, var); format(var, 32, "BoxSkill=%d\n",PlayerInfo[playerid][pBoxSkill]);fwrite(hFile, var); format(var, 32, "LawSkill=%d\n",PlayerInfo[playerid][pLawSkill]);fwrite(hFile, var); format(var, 32, "MechSkill=%d\n",PlayerInfo[playerid][pMechSkill]);fwrite(hFile, var); format(var, 32, "JackSkill=%d\n",PlayerInfo[playerid][pJackSkill]);fwrite(hFile, var); format(var, 32, "CarSkill=%d\n",PlayerInfo[playerid][pCarSkill]);fwrite(hFile, var); format(var, 32, "NewsSkill=%d\n",PlayerInfo[playerid][pNewsSkill]);fwrite(hFile, var); format(var, 32, "DrugsSkill=%d\n",PlayerInfo[playerid][pDrugsSkill]);fwrite(hFile, var); format(var, 32, "CookSkill=%d\n",PlayerInfo[playerid][pCookSkill]);fwrite(hFile, var); format(var, 32, "FishSkill=%d\n",PlayerInfo[playerid][pFishSkill]);fwrite(hFile, var); format(var, 32, "pSHealth=%.1f\n",PlayerInfo[playerid][pSHealth]);fwrite(hFile, var); GetPlayerHealth(playerid,PlayerInfo[playerid][pHealth]); GetPlayerArmour(playerid,PlayerInfo[playerid][pArmour]); format(var, 32, "pHealth=%.1f\n",PlayerInfo[playerid][pHealth]);fwrite(hFile, var); format(var, 32, "pArmour=%.1f\n",PlayerInfo[playerid][pArmour]);fwrite(hFile, var); format(var, 32, "Int=%d\n",PlayerInfo[playerid][pInt]);fwrite(hFile, var); format(var, 32, "Local=%d\n",PlayerInfo[playerid][pLocal]);fwrite(hFile, var); format(var, 32, "Rented=%d\n",PlayerInfo[playerid][pRented]);fwrite(hFile, var); format(var, 32, "Owned=%d\n",PlayerInfo[playerid][pOwned]);fwrite(hFile, var); format(var, 32, "Team=%d\n",PlayerInfo[playerid][pTeam]);fwrite(hFile, var); format(var, 32, "Model=%d\n",PlayerInfo[playerid][pModel]);fwrite(hFile, var); format(var, 32, "PhoneNr=%d\n",PlayerInfo[playerid][pPnumber]);fwrite(hFile, var); format(var, 32, "House=%d\n",PlayerInfo[playerid][pPhousekey]);fwrite(hFile, var); format(var, 32, "Carkey=%d\n",PlayerInfo[playerid][pPcarkey]);fwrite(hFile, var); format(var, 32, "Carkey2=%d\n",PlayerInfo[playerid][pPcarkey2]);fwrite(hFile, var); format(var, 32, "Carkey3=%d\n",PlayerInfo[playerid][pPcarkey3]);fwrite(hFile, var); format(var, 32, "Bizz=%d\n",PlayerInfo[playerid][pPbiskey]);fwrite(hFile, var); if ((PlayerInfo[playerid][pPos_x]==0.0 && PlayerInfo[playerid][pPos_y]==0.0 && PlayerInfo[playerid][pPos_z]==0.0)) { PlayerInfo[playerid][pPos_x] = 1684.9; PlayerInfo[playerid][pPos_y] = -2244.5; PlayerInfo[playerid][pPos_z] = 13.5; } if(Spectate[playerid] != 255) { PlayerInfo[playerid][pPos_x] = Unspec[playerid][sPx]; PlayerInfo[playerid][pPos_y] = Unspec[playerid][sPy]; PlayerInfo[playerid][pPos_z] = Unspec[playerid][sPz]; PlayerInfo[playerid][pInt] = Unspec[playerid][sPint]; PlayerInfo[playerid][pLocal] = Unspec[playerid][sLocal]; } format(var, 32, "Pos_x=%.1f\n",PlayerInfo[playerid][pPos_x]);fwrite(hFile, var); format(var, 32, "Pos_y=%.1f\n",PlayerInfo[playerid][pPos_y]);fwrite(hFile, var); format(var, 32, "Pos_z=%.1f\n",PlayerInfo[playerid][pPos_z]);fwrite(hFile, var); format(var, 32, "CarLic=%d\n",PlayerInfo[playerid][pCarLic]);fwrite(hFile, var); format(var, 32, "FlyLic=%d\n",PlayerInfo[playerid][pFlyLic]);fwrite(hFile, var); format(var, 32, "BoatLic=%d\n",PlayerInfo[playerid][pBoatLic]);fwrite(hFile, var); format(var, 32, "FishLic=%d\n",PlayerInfo[playerid][pFishLic]);fwrite(hFile, var); format(var, 32, "GunLic=%d\n",PlayerInfo[playerid][pGunLic]);fwrite(hFile, var); format(var, 32, "Buletin=%d\n",PlayerInfo[playerid][pBuletin]);fwrite(hFile, var); format(var, 32, "Gun1=%d\n",PlayerInfo[playerid][pGun1]);fwrite(hFile, var); format(var, 32, "Gun2=%d\n",PlayerInfo[playerid][pGun2]);fwrite(hFile, var); format(var, 32, "Gun3=%d\n",PlayerInfo[playerid][pGun3]);fwrite(hFile, var); format(var, 32, "Gun4=%d\n",PlayerInfo[playerid][pGun4]);fwrite(hFile, var); format(var, 32, "Ammo1=%d\n",PlayerInfo[playerid][pAmmo1]);fwrite(hFile, var); format(var, 32, "Ammo2=%d\n",PlayerInfo[playerid][pAmmo2]);fwrite(hFile, var); format(var, 32, "Ammo3=%d\n",PlayerInfo[playerid][pAmmo3]);fwrite(hFile, var); format(var, 32, "Ammo4=%d\n",PlayerInfo[playerid][pAmmo4]);fwrite(hFile, var); format(var, 32, "CarTime=%d\n",PlayerInfo[playerid][pCarTime]);fwrite(hFile, var); format(var, 32, "PayDay=%d\n",PlayerInfo[playerid][pPayDay]);fwrite(hFile, var); format(var, 32, "PayDayHad=%d\n",PlayerInfo[playerid][pPayDayHad]);fwrite(hFile, var); format(var, 32, "CDPlayer=%d\n",PlayerInfo[playerid][pCDPlayer]);fwrite(hFile, var); format(var, 64, "Crashed=%d\n",PlayerInfo[playerid][pCrashed]);fwrite(hFile, var); format(var, 32, "Wins=%d\n",PlayerInfo[playerid][pWins]);fwrite(hFile, var); format(var, 32, "Loses=%d\n",PlayerInfo[playerid][pLoses]);fwrite(hFile, var); format(var, 32, "AlcoholPerk=%d\n",PlayerInfo[playerid][pAlcoholPerk]);fwrite(hFile, var); format(var, 32, "DrugPerk=%d\n",PlayerInfo[playerid][pDrugPerk]);fwrite(hFile, var); format(var, 32, "MiserPerk=%d\n",PlayerInfo[playerid][pMiserPerk]);fwrite(hFile, var); format(var, 32, "PainPerk=%d\n",PlayerInfo[playerid][pPainPerk]);fwrite(hFile, var); format(var, 32, "TraderPerk=%d\n",PlayerInfo[playerid][pTraderPerk]);fwrite(hFile, var); format(var, 32, "Tutorial=%d\n",PlayerInfo[playerid][pTut]);fwrite(hFile, var); format(var, 32, "Sprunks=%d\n",PlayerInfo[playerid][pSprunk]);fwrite(hFile, var); format(var, 32, "Beers=%d\n",PlayerInfo[playerid][pBeer]);fwrite(hFile, var); format(var, 32, "Wines=%d\n",PlayerInfo[playerid][pWine]);fwrite(hFile, var); format(var, 32, "Mission=%d\n",PlayerInfo[playerid][pMissionNr]);fwrite(hFile, var); format(var, 32, "Warnings=%d\n",PlayerInfo[playerid][pWarns]);fwrite(hFile, var); format(var, 32, "FactionWarnings=%d\n",PlayerInfo[playerid][pFACWarns]);fwrite(hFile, var); format(var, 32, "AdminWarnings=%d\n",PlayerInfo[playerid][pADMWarns]);fwrite(hFile, var); format(var, 32, "GameMasterWarnings=%d\n",PlayerInfo[playerid][pGMWarns]);fwrite(hFile, var); format(var, 32, "Adjustable=%d\n",PlayerInfo[playerid][pAdjustable]);fwrite(hFile, var); if(PlayerInfo[playerid][pDonateRank] < 1) { PlayerInfo[playerid][pFuel] = 0; } format(var, 32, "Fuel=%d\n",PlayerInfo[playerid][pFuel]);fwrite(hFile, var); format(var, 64, "VirWorld=%d\n",PlayerInfo[playerid][pVirWorld]);fwrite(hFile, var); format(var, 32, "BlackPoints=%d\n",PlayerInfo[playerid][pBlackPoints]);fwrite(hFile, var); format(var, 32, "Married=%d\n",PlayerInfo[playerid][pMarried]);fwrite(hFile, var); format(var, 32, "MarriedTo=%s\n",PlayerInfo[playerid][pMarriedTo]);fwrite(hFile, var); format(var, 128, "WCol=%d\n",PlayerInfo[playerid][pWispCol]);fwrite(hFile, var); format(var, 32, "WCols=%d\n",PlayerInfo[playerid][pWispCols]);fwrite(hFile, var); format(var, 32, "StoredDrugs=%d\n",PlayerInfo[playerid][pStoredDrugs]);fwrite(hFile, var); format(var, 32, "StoredMaterials=%d\n",PlayerInfo[playerid][pStoredMats]);fwrite(hFile, var); format(var, 32, "GameMaster=%d\n",PlayerInfo[playerid][pGM]);fwrite(hFile, var); format(var, 32, "WantedLevel=%d\n",WantedLevel[playerid]);fwrite(hFile, var); format(var, 32, "Leader1=%s\n",PlayerInfo[playerid][pLeader1]);fwrite(hFile, var); format(var, 32, "Leader1s=%d\n",PlayerInfo[playerid][pLeader1s]);fwrite(hFile, var); format(var, 32, "Leader2=%s\n",PlayerInfo[playerid][pLeader2]);fwrite(hFile, var); format(var, 32, "Leader2s=%d\n",PlayerInfo[playerid][pLeader2s]);fwrite(hFile, var); format(var, 32, "Leader3=%s\n",PlayerInfo[playerid][pLeader3]);fwrite(hFile, var); format(var, 32, "Leader3s=%d\n",PlayerInfo[playerid][pLeader3s]);fwrite(hFile, var); format(var, 32, "Leader4=%s\n",PlayerInfo[playerid][pLeader4]);fwrite(hFile, var); format(var, 32, "Leader4s=%d\n",PlayerInfo[playerid][pLeader4s]);fwrite(hFile, var); format(var, 32, "Leader5=%s\n",PlayerInfo[playerid][pLeader5]);fwrite(hFile, var); format(var, 32, "Leader5s=%d\n",PlayerInfo[playerid][pLeader5s]);fwrite(hFile, var); format(var, 32, "Leader6=%s\n",PlayerInfo[playerid][pLeader6]);fwrite(hFile, var); format(var, 32, "Leader6s=%d\n",PlayerInfo[playerid][pLeader6s]);fwrite(hFile, var); format(var, 32, "Leader7=%s\n",PlayerInfo[playerid][pLeader7]);fwrite(hFile, var); format(var, 32, "Leader7s=%d\n",PlayerInfo[playerid][pLeader7s]);fwrite(hFile, var); format(var, 32, "Leader8=%s\n",PlayerInfo[playerid][pLeader8]);fwrite(hFile, var); format(var, 32, "Leader8s=%d\n",PlayerInfo[playerid][pLeader8s]);fwrite(hFile, var); format(var, 32, "Leader9=%s\n",PlayerInfo[playerid][pLeader9]);fwrite(hFile, var); format(var, 32, "Leader9s=%d\n",PlayerInfo[playerid][pLeader9s]);fwrite(hFile, var); format(var, 32, "Leader10=%s\n",PlayerInfo[playerid][pLeader10]);fwrite(hFile, var); format(var, 32, "Leader10s=%d\n",PlayerInfo[playerid][pLeader10s]);fwrite(hFile, var); format(var, 32, "Leader11=%s\n",PlayerInfo[playerid][pLeader11]);fwrite(hFile, var); format(var, 32, "Leader11s=%d\n",PlayerInfo[playerid][pLeader11s]);fwrite(hFile, var); format(var, 32, "Leader12=%s\n",PlayerInfo[playerid][pLeader12]);fwrite(hFile, var); format(var, 32, "Leader12s=%d\n",PlayerInfo[playerid][pLeader12s]);fwrite(hFile, var); format(var, 32, "Leader13=%s\n",PlayerInfo[playerid][pLeader13]);fwrite(hFile, var); format(var, 32, "Leader13s=%d\n",PlayerInfo[playerid][pLeader13s]);fwrite(hFile, var); format(var, 32, "Leader14=%s\n",PlayerInfo[playerid][pLeader14]);fwrite(hFile, var); format(var, 32, "Leader14s=%d\n",PlayerInfo[playerid][pLeader14s]);fwrite(hFile, var); format(var, 32, "Leader16=%s\n",PlayerInfo[playerid][pLeader16]);fwrite(hFile, var); format(var, 32, "Leader16s=%d\n",PlayerInfo[playerid][pLeader16s]);fwrite(hFile, var); format(var, 32, "Leader17=%s\n",PlayerInfo[playerid][pLeader17]);fwrite(hFile, var); format(var, 32, "Leader17s=%d\n",PlayerInfo[playerid][pLeader17s]);fwrite(hFile, var); fclose(hFile); } } } return 1; }[/pawn]
-
Unde ai functiile forward pune asta : [pawn]forward OnPlayerUpdateEx(playerid);[/pawn]
-
Da eroarea , si linia unde e eroarea in comanda care ti-am dat-o. Nu modifica.
-
Cred ca se refera la bara aia de jos in care iti arata : "Welcome to ..." etc.
-
Use this : [pawn]if(strcmp(cmd, "/apark", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:x,Float:y,Float:z; new Float:a; new carid; carid = GetPlayerVehicleID(playerid); GetPlayerName(playerid, playername, sizeof(playername)); GetVehiclePos(carid, x, y, z); // GetPlayerFacingAngle(playerid, a); GetVehicleZAngle(carid, a); if(PlayerInfo[playerid][pAdmin] >= 3) { CarInfo[carid][cLocationx] = x; CarInfo[carid][cLocationy] = y; CarInfo[carid][cLocationz] = z; CarInfo[carid][cAngle] = a; format(string, sizeof(string), "~n~ You have parked your car in this location. ~n~"); GameTextForPlayer(playerid, "You have parked this car in this position. It will respawn here.", 10000, 3); OnPropUpdate(); OnPlayerUpdateEx(playerid); DestroyVehicle(carid); CreateVehicle(CarInfo[carid][cModel],CarInfo[carid][cLocationx],CarInfo[carid][cLocationy],CarInfo[carid][cLocationz]+1.0,CarInfo[carid][cAngle],CarInfo[carid][cColorOne],CarInfo[carid][cColorTwo],60000); return 1; } else { SendClientMessage(playerid, COLOR_GREY, " You are not authorized to use that command !"); return 1; } } return 1; }[/pawn]
-
Numara masinile din cars.cfg si schimba numarul in gm. D :angry:aca tot la fel face , te sfatuiesc sa refaci masinile singur de la inceput.
-
Incearca scriptul pus de alextraficantul , mie imi merge perfect.
-
[pawn]C:\Users\DanCiprian\Desktop\Gadict\pawno\include\JunkBuster.inc(3238) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(30155) : warning 219: local variable "vehicleid" shadows a variable at a preceding level C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(52563) : warning 202: number of arguments does not match definition C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(52563) : warning 202: number of arguments does not match definition C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(52590) : warning 235: public function lacks forward declaration (symbol "GateClose36") C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(53119) : warning 202: number of arguments does not match definition C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(53119) : warning 202: number of arguments does not match definition C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(54200) : warning 203: symbol is never used: "Admin" C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(54200) : warning 203: symbol is never used: "PlayerPos" C:\Users\DanCiprian\Desktop\Gadict\gamemodes\gadict.pwn(54200) : warning 203: symbol is never used: "idletime" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 12796 bytes Code size: 2362192 bytes Data size: 10602296 bytes Stack/heap size: 16384 bytes; estimated max. usage=4349 cells (17396 bytes) Total requirements:12993668 bytes 10 Warnings. [/pawn] Cateva au fost rezolvate de mine , acestea nu le gasesc ca sa le pot rezolva...
-
Primesc si eu asa warning-uri si le sterg , dupa nu primesc erori.
-
Mersi , acum comanda arata asa : [pawn]if (strcmp("/armeballas", cmdtext, true) == 0) { if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { SendClientMessage(playerid, 0xFFFFFFAA, "Ai primit armele factiunii"); GivePlayerWeapon(playerid, 24, 500); //deagle GivePlayerWeapon(playerid, 31, 500); //m4 GivePlayerWeapon(playerid, 29, 500); //mp5 } return 1; }[/pawn] Vreau ca playerului sa i se ia 5k cand tasteaza aceasta comanda si un timer de 5 minute. Ma puteti ajuta ?
-
Masinile de vanzare le gasesti in gamemode la Ravens.
-
[pawn]if (strcmp("/armeballas", cmdtext, true) == 0) { if(IsPlayerConnected(playerid)) } SendClientMessage(playerid, 0xFFFFFFAA, "Ai primit armele factiunii"); GivePlayerWeapon(playerid, 24, 500); } return 1; }[/pawn] Am facut comanda asta , cand compilez imi spune ca PAWNO trebuie sa se opreasca. Cand sterg comanda , se compileaza. Ma poate ajuta cineva sa fac comanda buna ? Multumesc Anticipat.
-
Poti pune alt link de download te rog ?