zaster
-
Posts
134 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by zaster
-
-
frumos , dar sti ce era si mai frumos ? sa fi facut o comanda sa poti deschide si usile la garaj :)
-
Pottus
Slice
-
Deci am si eu o problema Nu Vrea sami Vada
Create3DTextLabel
Pe server am bagat in GM si nu le arata
am bagat Include Streamer plugins toate kkturile
si tot nu merge... X(
daca stiti carei problema zicetimi
-
Trb sa ai asta la comanda /exit
SetPlayerPos(playerid, housex, housey, housez);
-
Si se scrie cu I nu cu A la inceput,esti si analfabet.
______
Habar'nai ba saracule.
ON:Ti-a spus stuntman
ba fraiere sarac esti tu si asa ami place sa scriu eu cu A ai ceva in potriva
marsh drq si nu mai comenta copil de 11 ani
JET!
-
Ati fac eu un Fs de asta dar te costa PM ME DACA VREI!
-
pui la ala acolo unde ai tu new string[200]; pui mai mult sau ce scrie acolo name pui [600]; si gata ;)
-
Deci mam Lasat De Sa-Mp
Si mam Gandit Sa va Las Ca amintire Niste Scripturi
Mam Saturat de acest joc ..
Mai am 1 GB de scripturi o sa vad daca le postez
Aici Vam lasat Cateva DIn Scripturi
http://solidfiles.com/d/16826383f4/
Ne mai Vedem Bafta la Toti :)
-
Punem asta Sus in Capul FileScriptului Sau GM-ului
new Locked[MAX_PLAYERS];
Aici Sunt Cateva Clase De Playeripublic OnGameModeInit() { AddPlayerClass(221, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 0 - Nau Parola AddPlayerClass(212, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 1 - Nau Parola AddPlayerClass(199, 0, 0, 0, 130, 24, 300, 0, 0, 0, 0); //Class 2 -Are Parola return 1; }
Aici se definesc Skinurile Private si alea care nus privatepublic OnPlayerRequestClass(playerid, classid) { switch(classid) { case 0: Locked[playerid] = 0; //UNLOCKED case 1: Locked[playerid] = 0; //UNLOCKED case 2: Locked[playerid] = 1; //LOCKED } return 1; }
Aici Este Cand Playeru A Loat SKinu Cu Parola Nu-l Va lasa Sa se Spawneze!public OnPlayerRequestSpawn(playerid) { if(Locked[playerid]) return 0; //Opreste Playeru Sa Fie Spawnat =D return 1; }
Aici este cand Ai Ales Skin-ul tau si trebuie sai bagi parola!public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/unlock YOUR_PASS"))//Unde Este 'YOU_PASS' Pui Parola Care Vrei TU De Ex 'This Is My Skin' { Locked[playerid] = 0; SendClientMessage(playerid, -1, "Skins unlocked!"); } return 1; }
Tutorial By Zaster
-
Frumos 5/5 :)
-
Deci Daca Vrei sa Bagi O casa Doar Coordonatele astea trb schimbate
AddHouse(1, -2792.0032,218.5457,7.8594, 235.508994,1189.169897,1080.339966, 32, 0, 3, 0);
Daca Ai Schimbat Coordonatele alea cu Coordonatele un vrei sa pui casa merge ;)
-
mda nam vzt ..
-
Pai ar Trb sa faci asa
[pawn]COMMAND:claninfo(playerid, params[])
{
new str[128];
if(PlayerStat[playerid][ClanID] < 1) return SendClientMessage(playerid, -1, "You must be in a clan to use this command.");
SendClientMessage(playerid, ClanStat[PlayerStat[playerid][ClanID]], "Online Clan Members:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && PlayerStat[playerid][ClanID] == PlayerStat[ClanID])
{
format(str, sizeof(str), "%s, Rank %d.", GetName(i), PlayerStat[ClanRank]);
SendClientMessage(playerid, ClanStat[PlayerStat[playerid][ClanID]], str);
}
}
SendClientMessage(playerid, ClanStat[PlayerStat[playerid][ClanID]], "--------------------------------");
return 1;
}[/pawn]
-
Salut Deci Am Sa va Arat Un Tutorial Cum sa Faci O FUnctie Mai Scurta
Sa Incepem Prima Oara
[pawn]#include <a_samp>[/pawn]
Dupaia
Va dau eu un exemplu aici
[pawn]#define SPP SetPlayerPos[/pawn]
am Facut Si O Comanda Pt voi sa Vedeti
[pawn]#define SCM SendClientMessage
#define SPH SetPlayerHealth
#define SPA SetPlayerArmour
#define SPD ShowPlayerDialog
#define D_S_P DIALOG_STYLE_PASSWORD
#define SGT SetGameModeText
#define APC AddPlayerClass
#define SPP SetPlayerPos
#define SPCP SetPlayerCameraPos
#define SPCL SetPlayerCameraLookAt
#define GTFA GameTextForAll
#define GPM GivePlayerMoney
#define SPS SetPlayerScore
#define PASFP PlayAudioStreamForPlayer
#define SPSFP StopAudioStreamForPlayer
#define CO CreateObject[/pawn]
asa Acuma COmanda Cu Functiile
[pawn]if (strcmp("/test", cmdtext, true, 10) == 0)
{
new string[200];
SCM(playerid,-1,"Test Madafakaaaa");
SPH(playerid,100);
SPA(playerid,100);
SPD(playerid,-1,D_S_P,"Test", string, "Ok", "Cancel");
GPM(playerid,10000);
SPS(playerid,10000);
PASFP(playerid, "http://somafm.com/tags.pls");
SPSFP(playerid);
return 1;
}[/pawn]
OnGameModeInit
[pawn]public OnGameModeInit()
{
SGT("Test Script");
APC(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CO(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}[/pawn]
[pawn]public OnPlayerRequestClass(playerid, classid)
{
SPP(playerid, 1958.3783, 1343.1572, 15.3746);
SPCP(playerid, 1958.3783, 1343.1572, 15.3746);
SPCL(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}[/pawn]
Cam Atat Este Tutorialu Deci ati inteles
Puneti In Tot Deauna
[pawn]#define Numele si Functia![/pawn]
Sper Ca Va Ajutat
See Yea :D
-
Ce Gm Ba Batut in cap 8-|
Nici nam auzit de Gm-ul SSR LOL
-
Salut Am Creat un Fs Cu Comanda /v
Pentru ca Multi am Vazut ca Cauta asa Ceva Si Pe Mess Am Primit Multe Masuri
"hei Te Rog fami si mie /v Pliz"
sau alti care au vrut sa creeze dar nu au reusit si leam zis
ca o sa fac eu si o sa-l postez ca-sa poata sal foloseasca
Poze:
FS-ul este testat de mine am testat toate masinile din dialog si nu am gasit nici un bug
daca gasiti voi va rog sa lasati un Reply si sami ziceti carei Bugu
Download: http://solidfiles.com/d/eb074e1010/download/
Credits: Zaster
-
8-| ... decat sa faci fs-uri din astea (de 2 bani) nu mai fa ... este foarte usor de facut 8-| ...
Poate Tie Nuti Place Dar la Alti Poate le Place.. 8-|
-
Informations
Este Un Fs In Care Daca Scri /tag Ati Apare Un Dialog Input !
In Care Scri Ce Vrei Sa Fie Desupra Capului Tau!
Apesi Pe Butonul "Enter"
Si Sa Asezat Text-ul Deasupra capului tau!
Poze nu am mai fct "Am uitat "
Dar Merge Ca lam Testat Eu!
Multumesc Lui ExTREME Pentru Ajutorul Acordat La Testarea acestui Fs
Si Lu Zaster Pentru ca a facut acest Fs
PWN Code:
//Tag Description By Zaster //Another FileScript By Zaster! #include <a_samp> #define tag 1 public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/tag", cmdtext, true, 6) == 0) { IsPlayerConnected(playerid); { ShowPlayerDialog(playerid, tag, DIALOG_STYLE_INPUT, "Tag Description", "{FF0000}Enter Your Tag Description:", "Enter", "Cancel"); } return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == tag) { if(response) { new Text3D:label = Create3DTextLabel(inputtext, 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7); SendClientMessage(playerid,-1,"{FF0000}Tag Description Has Been {FFF000}Inputed!"); SendClientMessage(playerid,-1,"{FFF000}And Don't Forget This FS Has Been Created {FF0000}By Zaster!"); } return 1; } return 0; } //The End! //See You Later Bitch )
-
ce e asemanator :S ?
-
BasketBall Game
Introduction.
Este un Fs De Basket Game
Adika Joci Basket Aproape Ca In Real!
Doar Trebuie Sa Scri /basket Si ati Apare Mingea De Basket
Cand Scri /basket Ati apare Automat Si Un 3dText Deasupra Capului!
Photos.
[img width=500 height=375]
Special Thanks.
RaZvaN - Pentru Ca Ma AJutat Sa Testez Fs-ul
Vampir_MD - Pentru Ca Ma AJutat Sa Testez Fs-ul
[C]redits.
Zaster - Pentru Ca A Creat Acest FS
[D]ownload.
http://solidfiles.com/d/09b672855d/
[T]he [E]nd!
-
ai bagat
In server.cfg
plugins si ai scris acolo pluginurile care trb de ex
plugins streamer sscanf whirpool
-
Problema la Tine este ca AI Modificat ceva in GM.. Si ai DA CRASH ca asa am facut si eu..
-
Salut
Am Creat Si eu Un
FileScript Cu un MAgazin de Droguri
LOCATION: GROV!
COMMANDS:
/enter
/exit
/kanabis
/marijuana
/joint
Credits: Zaster
POZE:
[img width=500 height=375]
[img width=500 height=375]
[img width=500 height=375]
DOWNLOAD:
//DRUG SHOp BY ZASTER //FUMATUL //POATE //UCIDE //=) #include <a_samp> #include <zcmd> #include <sscanf> public OnGameModeInit() { AddStaticPickup(1318, 1, 2475.4141,-1750.6168,13.5469);//Intrare AddStaticPickup(1254, 1, 510.8924,-73.0858,998.7578);//Marijuana AddStaticPickup(1254, 1, 511.2997,-74.7012,998.7578);//Kanabis AddStaticPickup(1254, 1, 511.5041,-76.2415,998.7578);//JOINT AddStaticPickup(1318, 1, 502.3821,-69.6744,998.7578);//iesire Create3DTextLabel("{ffffff}Scrie {ff0000}/enter {ffffff}Pentru a Intra In Magazinu De Droguri",0x008080FF,2475.4141,-1750.6168,13.5469,40.0,0); Create3DTextLabel("{ffffff}Scrie {ff0000}/marijuana {ffffff}Ca-sa fumezi O Marijuana",0x008080FF,510.8924,-73.0858,998.7578,40.0,0); Create3DTextLabel("{ffffff}Scrie {ff0000}/kanabis {ffffff}Ca-sa Fumezi un Kanabis",0x008080FF,511.2997,-74.7012,998.7578,40.0,0); Create3DTextLabel("{ffffff}Scrie {ff0000}/joint {ffffff}Ca-sa Fumezi Un Joint",0x008080FF,511.5041,-76.2415,998.7578,40.0,0); Create3DTextLabel("{ffffff}Scrie {ff0000}/exit {ffffff}Pentru a Iesi Din Magazin",0x008080FF,502.3821,-69.6744,998.7578,40.0,0); return 1; } public OnPlayerSpawn(playerid) { return 1; } COMMAND:enter(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 2475.4141,-1750.6168,13.5469))//Aici Treabuie sa Pui Coordonatele de la Pickup alt fel nu poti folosi comanda { SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Ai Intrat In Magazin-ul De Droguri"); SetPlayerPos(playerid,501.980987,-69.150199,998.757812); SetPlayerInterior(playerid,11); return 1; } else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Nu Esti In sageata de la magazin"); } else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In sageata de la magazin"); } COMMAND:marijuana(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 510.8924,-73.0858,998.7578)) { SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Esti Nebun Fumezi Marijuana "); SetPlayerSpecialAction(playerid,21); return 1; } else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Cumpara O Marijuana"); } else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!"); } COMMAND:kanabis(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 511.2997,-74.7012,998.7578)) { SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Esti Nebun Fumezi Kanabis"); SetPlayerSpecialAction(playerid,21); return 1; } else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Cumpara O Kanabis"); } else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!"); } COMMAND:joint(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 511.5041,-76.2415,998.7578)) { SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Esti Nebun Fumezi Joint "); SetPlayerSpecialAction(playerid,21); return 1; } else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Cumpara O Joint"); } else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!"); } COMMAND:exit(playerid, params[]) { if(IsPlayerConnected(playerid)) { if(IsPlayerInRangeOfPoint(playerid, 2.0, 502.3821,-69.6744,998.7578)) { SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Ai Iesit Afara Din Magazinu De Droguri "); SetPlayerPos(playerid,2475.4141,-1750.6168,13.5469); SetPlayerInterior(playerid,0); return 1; } else return SendClientMessage(playerid, 0x0259EAAA, "{FFF000}Trebuie Sa Fi In CheckPoint Pentru a Iesi Din Sageata"); } else return SendClientMessage(playerid, 0x0259EAAA, "{FF0000}ERROR: {FFF000}Nu Esti In Checkpoint!"); }
THE END!
-
GATA ACUMA MERGE!
Ajutor comanda /createhouses
in Arhivă probleme
Posted
pai nu ati trebuie /createhouses
poti folosi comanda /save din sa-mp te duci unde vrei sa creezi casa , /save ///CASA 1
dupaia de duci in Gta San Andreas User Files/SAMP/savedpositions si acolo este salvat coordonatele de la casa ta
arata ceva get asa
[pawn]AddPlayerClass(217,-214.6179,1470.9010,74.7124,225.8006,0,0,0,0,0,0);[/pawn]
dupa aceea te duci in FS-ul cu case sau unde este bagat
si cauti functia CreateHouse(playerid, x ,z ,y ,a ); sau cum este ai loat codu ala si il pui CreateHouse(playerid, 214.6179,1470.9010,74.7124 ,a );
dupaia ai dat compile si merge asta cred eu ca este ce-a mai usoara modalitate de a creea o casa sau mai multe..