L0K3D. Posted April 2, 2016 Posted April 2, 2016 Probabil va intrebati de ce fac asta? Pai, va spun acum. O fac deoarece m-am plictisit de aceasta dezordine si de off-topicul facut aici, acea categorie fiind singura la care am acces la moderare am decis sa ma folosesc de ea. Cum spune si titlul topicului, persoanele care au nevoie de ajutor in scriptig pot deschide acolo un topic. Voi incerca sa ma ocup cat mai des de categoria respectiva. Link. 3
Kedox Posted April 2, 2016 Posted April 2, 2016 (edited) O idee foarte buna Edited April 2, 2016 by Bk.DealerDrog
L0K3D. Posted April 2, 2016 Author Posted April 2, 2016 Intentionam sa o pun in practica cu mult timp in urma, dar nu a fost sa fie.
Alynush02 Posted April 3, 2016 Posted April 3, 2016 Imi place ideea :) Te astept pe skype, vb despre Sadler. 1
QniunE Posted April 3, 2016 Posted April 3, 2016 Salut,as avea nevoie de comanda /shop pentru serverul meu sa inceapa gen asa: if(strcmp(cmd, "/shop", true) == 0) si asa mai departe.
Wizz.. Posted April 8, 2016 Posted April 8, 2016 Salut,as avea nevoie de comanda /shop pentru serverul meu sa inceapa gen asa: if(strcmp(cmd, "/shop", true) == 0) si asa mai departe. Da pff ai sv de RP.
EAX.. Posted April 9, 2016 Posted April 9, 2016 Da pff ai sv de RP. De unde si ca are sever de rp =))) daca are o comanda pe strcmp nu inseamna ca e server de rp..
Wizz.. Posted April 9, 2016 Posted April 9, 2016 (edited) De unde si ca are sever de rp =))) daca are o comanda pe strcmp nu inseamna ca e server de rp.. stiu poate fi sv de stunt :) dar e evident cmd:shop ? e de rpg cred. Nu crezi si tu asta ? Edited April 9, 2016 by Wizz..
Maffw Posted April 27, 2016 Posted April 27, 2016 (edited) stiu poate fi sv de stunt :) dar e evident cmd:shop ? e de rpg cred. Nu crezi si tu asta ?OFF: Asta nu are nici o legatura =)))) daca comanda incepe cu CMD:shop inseamna ca este alt procesor de comenzi adk ZCMD daca incepe cu if(strcmp(cmd ... e alt procesor de comenzi =)) ON: CMD:createbizz(playerid, params[]){ new bizlevel, bizvalue, biztype, bizbuylevel; if(PlayerInfo[playerid][pAdmin] >= 6) { if(!sscanf(params, "iiii", biztype, bizvalue, bizlevel, bizbuylevel)) { if(bizvalue < 0) return errorMessage(playerid, "The business has to costs 1$ atleast!"); if(bizbuylevel < 0) return errorMessage(playerid, "The business has to buy level 1 atleast!"); if(bizlevel != 3) return errorMessage(playerid, "Business can also go up to 1!"); if(biztype > 8 || biztype < 1) return errorMessage(playerid, "Business types only go between 1-7."); new bizID = -1; for(new b = 1; b < MAX_BUSINESSES; b++) { if(BizzInfo[b][bizValue] == 0) { bizID = b; break; } } if(bizID == -1) return errorMessage(playerid, "The maximum amount of businesses has been made."); CreateBiz(playerid, bizID, bizlevel, bizvalue, biztype, bizbuylevel); } else { commandUsage(playerid, "/createbizz [type] [value] [level] [buy level]"); sendMessage(playerid, -1, "Available types: 1 - 24/7 | 2 - Clothes Shop | 3 - Rent Vehicle | 4 - Sex Shop | 5 - Burger Shot | 6 - Clucki'n Bell | 7 - CNN News."); sendMessage(playerid, -1, "8 - Paintball |"); return 1; } } else { return errorMessage(playerid, "You are not authorized to use that command!"); } return 1;}E ceva cu comanda asta ? daca dau /createbizz in game si daca pun orice imi zice "Business can also go up to 1!" ce e mai sus , daca se poate rezolva ?Si as vrea sa se adauge acolo si bank adk sa pot creea o banca pentru ca pe server nu exista o banca .. Edited April 27, 2016 by Maffw
L0K3D. Posted April 27, 2016 Author Posted April 27, 2016 (edited) bizzlevel trebuie sa fie egal cu 3. Edited April 27, 2016 by L0K3D.
Maffw Posted April 27, 2016 Posted April 27, 2016 (edited) bizzlevel trebuie sa fie egal cu 3. Rezolvat mrs :D Edited April 27, 2016 by Maffw
Maffw Posted April 28, 2016 Posted April 28, 2016 (edited) Am nevoie si de o comanda de tip-ul /getmats ca pe bugged , adica dai /getmats dintr-o locatie si sa te duci in alta locatie si sa iti dea mats si bani . :D Doar comanda de baza daca poti sa mi-o faci , restul adica locatiile le pun eu fara probleme . Edited April 28, 2016 by Maffw
Hollow. Posted April 28, 2016 Posted April 28, 2016 CMD:getmats(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] != 9) return SendClientMessage(playerid,COLOR_WHITE, "{FFB870}You are not an Arms Dealer."); if(IsPlayerInRangeOfPoint(playerid, 5, 597.5396,-1246.9562,18.2512)) { if(GetPlayerCash(playerid) >= 500) { SetPlayerCheckpoint(playerid, 1713.1602,916.2577,10.8203, 10.0); SendClientMessage(playerid, COLOR_WHITE, "Mergi la checkpoint pentru a colecta materialele."); MatsHolding[playerid] = 1; CP[playerid] = 6901; GivePlayerCash(playerid,-500); Update(playerid, pCashx); } else return SendClientMessage(playerid, COLOR_WHITE, "Nu ai $500."); } else { SendClientMessage(playerid, COLOR_WHITE, "{FEC3AC}Mergi la checkpoint pentru a colecta materialele."); SetPlayerCheckpoint(playerid,597.5396,-1246.9562,18.2512, 10.0); GotoMats[playerid] = 1; } } return 1; }
Maffw Posted April 28, 2016 Posted April 28, 2016 (edited) CMD:getmats(playerid, params[]) { if(gPlayerLoggeduserbar == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if(PlayerInfouserbar[pJob] != 9) return SendClientMessage(playerid,COLOR_WHITE, "{FFB870}You are not an Arms Dealer."); if(IsPlayerInRangeOfPoint(playerid, 5, 597.5396,-1246.9562,18.2512)) { if(GetPlayerCash(playerid) >= 500) { SetPlayerCheckpoint(playerid, 1713.1602,916.2577,10.8203, 10.0); SendClientMessage(playerid, COLOR_WHITE, "Mergi la checkpoint pentru a colecta materialele."); MatsHoldinguserbar = 1; CPuserbar = 6901; GivePlayerCash(playerid,-500); Update(playerid, pCashx); } else return SendClientMessage(playerid, COLOR_WHITE, "Nu ai $500."); } else { SendClientMessage(playerid, COLOR_WHITE, "{FEC3AC}Mergi la checkpoint pentru a colecta materialele."); SetPlayerCheckpoint(playerid,597.5396,-1246.9562,18.2512, 10.0); GotoMatsuserbar = 1; } } return 1; } C:\Users\Ade\Desktop\iDeal RPG\gamemodes\ro-rp.pwn(13976) : error 035: argument type mismatch (argument 2) C:\Users\Ade\Desktop\iDeal RPG\gamemodes\ro-rp.pwn(13979) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfouserbar" C:\Users\Ade\Desktop\iDeal RPG\gamemodes\ro-rp.pwn(13979) : warning 215: expression has no effect C:\Users\Ade\Desktop\iDeal RPG\gamemodes\ro-rp.pwn(13979) : error 001: expected token: ";", but found "]" C:\Users\Ade\Desktop\iDeal RPG\gamemodes\ro-rp.pwn(13979) : error 029: invalid expression, assumed zero C:\Users\Ade\Desktop\iDeal RPG\gamemodes\ro-rp.pwn(13979) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors. Edited April 28, 2016 by Maffw
L0K3D. Posted April 28, 2016 Author Posted April 28, 2016 (edited) peste tot in loc de "userbar" pui "[playerid]". Edited April 28, 2016 by L0K3D.
Maffw Posted April 28, 2016 Posted April 28, 2016 (edited) peste tot in loc de "userbar" pui "[playerid]".Nu inteleg ce vrei sa zici aici ... Am gamemode-ul ăsta http://forum.bugged.ro/topic/191786-gamemode-frumos/ Edited April 28, 2016 by Maffw
Blaskowski Posted April 28, 2016 Posted April 28, 2016 Nu inteleg ce vrei sa zici aici ... Am gamemode-ul ăsta http://forum.bugged.ro/topic/191786-gamemode-frumos/ Greu era sa copiezi comanda in notepad++ sa dai search la userbar si selectai sa inlocuiesti tot cu [ playerid ] Poftim comanda: http://pastebin.com/rk6xdPeZ
Recommended Posts