scr3ws0f7
-
Posts
153 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
News
Documentation
Posts posted by scr3ws0f7
-
-
eu stiam ca Anti Spam/Swear e din Junkbuster :huh:
-
eu i'am rezolvat 90% din erori dar.... daca nu are scriptul complet :undecided:
-
gj 4/5
-
ce legatura are framework cu complierea ? o_0
-
sau mai ai o optiune cauti pe google deamx.exe... il deamix-ezi si gata ce'i asa greu?
-
e cam buguit 0admin dar e versiunea beta :smiley: asteapta pana face o versiune stabila
-
La inceputul GM adaugi
new CreatedCars[100];
new CreatedCar = 0;
-Sub linia public OnPlayerCommandText
Adaugi:
[pawn]if(strcmp(cmd, "/veh", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] < 4)
{
SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /veh [carid] [color1] [color2]");
return 1;
}
new car;
car = strval(tmp);
if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_GREY, " Vehicle Number can't be below 400 or above 611 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /veh [carid] [color1] [color2]");
return 1;
}
new color1;
color1 = strval(tmp);
if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /veh [carid] [color1] [color2]");
return 1;
}
new color2;
color2 = strval(tmp);
if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Color Number can't be below 0 or above 126 !"); return 1; }
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
new carid = CreateVehicle(car, X,Y,Z, 0.0, color1, color2, 60000);
CreatedCars[CreatedCar] = carid;
CreatedCar ++;
format(string, sizeof(string), " Vehicle %d spawned.", carid);
SendClientMessage(playerid, COLOR_GREY, string);
GetPlayerName(playerid, sendername, sizeof(sendername));[/pawn]
* Unde ii : if (PlayerInfo[playerid][pAdmin] < 4) - Inloc de 4 adaugi levelul minim al adminului care poate folosi comanda sau daca vrei ca toti playeri sa poata folosi comanda stergi linia
Iar /skin :(tot sub linia OnPlayerCommandText )
[pawn] if (strcmp("/skin", cmd, true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
new idskin;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /skin [skinid]");
idskin = strval(tmp);
if(idskin >= 0 && idskin <= 299)
{
SetPlayerSkin(playerid,idskin);
format(string, 256, " your skinid is now %d", idskin);
SendClientMessage(playerid, COLOR_GREY, string);
}
else if(idskin < 0 || idskin > 299)
{
SendClientMessage(playerid, COLOR_GREY, " don't go under 1 and over 299.");
}
return 1;
}
}[/pawn]
*if (PlayerInfo[playerid][pAdmin] >= 1) : TOT asa inloc de 1 pui lvl min al adminului care poate sa foloseasca cmd
esti total paralel ce tot zici tu cu padmin.... :shocked:
-
foloseste http://www.convertffs.com/ :wink:
-
sus de tot...
[pawn]#pragma unused RAutoRace[/pawn]
-
RuNix" post="73345" timestamp="1305976905"]
in ladmin , lux admin tot porcaria aia
mai bine pune in loc de
if(PlayerInfo[playerid][Level] >= 3) {
asaif(PlayerInfo[playerid][Level] >= 0) {
fara sa modificati ca sa va dea erori ...
runix are dreptate e mai simplu asa stergi degeaba liniile alea :embarrassed:
-
sau mai simplu iti iei un sistem de admin si are el /car :evil:
-
scriptul e incomplet :tongue:...
-
nu stiu ce e /veh
"veh" adica comenzi pentru masina? (gen.: deschide capota,inchide,alarma,lumini,motor on/off)
si skin:
sus de tot :
[pawn]new newskins[]={265,266,267,269,270,271,272};[/pawn]
la public OnPlayerCommandText
[pawn] if (strcmp(cmd, "/skin", true) == 0 )
{
new skin[256];
skin = strtok(cmdtext, idx);
if (!strlen(skin))
{
SendClientMessage(playerid, COLOR_RED, "Tasteaza: /skin [id skin]");
return 1;
}
new newskin = strval(skin);
if ((newskin < 0) || (newskin > 299) || IsInvalidSkin(newskin)) {
SendClientMessage(playerid, COLOR_RED, "Server: Acest skin nu exista!");
return 1;
}
if (GetPlayerMoney(playerid) >= 0)
{
SetPlayerSkin(playerid, newskin);
GivePlayerMoney(playerid,-0);
format(string, 128, "Server: Skinul a fost schimbat in %d ", newskin);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nu poti schimba skin-ul o_ 0");
}
return 1;
}[/pawn]
si jos de tot
[pawn]IsInvalidSkin(skinid)
{
#define MAX_BAD_SKINS 22
new InSkin[MAX_BAD_SKINS] = {
0, 3, 4, 5, 6, 8, 42, 65, 74, 86,
119, 149, 208, 273, 289};
for (new i = 0; i < MAX_BAD_SKINS; i++) {
if (skinid == InSkin) return true;}
return 0;
}[/pawn]
-
care ii linia 554?
asta este
new string[128], Float:X, Float:Y, Float:Z, Float:PointToPoint, Float:vhealth;
florin vezi mai sus poate mai ai o datanew string[128]
cauta... daca nu gasesti te ajut eu pe mess dar nu mi'ai zis o_0
-
gj :tongue: 9/10
-
-
am si eu o problema :grin: imi arata playeri sus dar cand se deconecteaza raman la fel de la ce?
ex daca au intrat 20 playeri arata 20/50 dar daca se deconecteaza tot atatia arata :|
-
deschizi GM/FS si Cauti
CTRL+F
new Text:
cand ai gasit unu exnew Text:city
cauti CTRL+Fcity =
si stergi tot
acuma depinde si cate textdraw-uri ai
-
GJ frumoasa ideea 5/5
ps: $0beit e vechi :-q 2009 acuma e 2011 :evil:
-
poate ne zici si noua ce face si sa pui cateva poze :blank:
:evil: sau vrei sa'l downloadeze lumea ?:>
-
m'am uitat si nu am uitat toate sunt inchise :sad:
http://www.megaupload.com/?d=8EJRZWJB <- gm
-
Pawno:
D:\RPG\gamemodes\RPGv2.pwn(2230) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2234) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2238) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2242) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2246) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2250) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2254) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2258) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2262) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2266) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2270) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2274) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2278) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2282) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2301) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2305) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2309) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2313) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2317) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2321) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2325) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2329) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2333) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2337) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2341) : error 017: undefined symbol "CreateVehicleEx" D:\RPG\gamemodes\RPGv2.pwn(2345) : error 017: undefined symbol "CreateVehicleEx" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
cam asa arata :|if(listitem == 0) // Admiral { CreateVehicleEx(playerid,445, X,Y,Z+1, Angle, random(126), random(126), -1);
ma streseaza de cateva ore :embarrassed: si nu'i dau de cap pls help :(
-
lol deci esti...
1 descarci asta de AICI
2 il dezarhivezi
3 pui gm-ul in "gamemodes"(unde ai dezarhivat Serverul)
4 intri in server.cfg modificci gamemode0 cu numele gm-ului
si server.cfg ar trebui sa arate cam asa
echo Executing Server Config... lanmode 0 rcon_password [parola-ta] maxplayers 25 port 7777 hostname [NumeServer] gamemode0 [nume gm] filterscripts [daca ai si cateva fs pui numele aici] plugins [liber] announce 1 query 1 weburl www.sa-mp.ro maxnpc 0 onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 mapname [Nume-mapa]
-
nu imi lipsesc am asa : Houses - LuxAdmin - PlayerFiles - PropertySystem - vehicles - Saver - properties - Users - JunkBuster(nu il folosesc)
[MAP] Vas Traficant / Militar
in Hărţi
Posted