Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- #define DIALOG_WELCOME 2
- new zicara;
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Zicara ");
- print("--------------------------------------\n");
- zicara = CreateObject(5837, -2268.76880, -1683.33032, 481.69861, 0.00000, 0.00000, 200.79498);
- new attobject1 = CreateObject(7568,0,0,-1000,0,0,0);
- AttachObjectToObject(attobject1,zicara,-7.470076,-0.130000,3.479997,-0.499999,-1.789999,-0.069999);
- return 1;
- }
- CMD:zicara(playerid, params[])
- {
- SetPlayerPos(playerid, -2269.7214, -1692.6377, 482.7216);
- SendClientMessage(playerid, -1, "Portan si do zicare. Za komande pisi /komande");
- return 1;
- }
- CMD:kreni(playerid, params[])
- {
- MoveObject(zicara, -2268.76880, -1683.33032, 481.69861, 10);
- MoveObject(zicara, -1601.4666, -1575.8234, 36.0752, 10);
- SendClientMessage(playerid, -1, "Zicara se krece,stanite na miru.");
- return 1;
- }
- CMD:vrati(playerid, params[])
- {
- MoveObject(zicara, -1601.4666, -1575.8234, 36.0752, 10);
- MoveObject(zicara, -2268.76880, -1683.33032, 481.69861, 10);
- SendClientMessage(playerid, -1, "Zicara se vraca,stanite na miru.");
- return 1;
- }
- CMD:stop(playerid, params[])
- {
- StopObject(zicara);
- SendClientMessage(playerid, -1, "Zaustavio si zicaru,pisi /padobran ako zelis skociti");
- return 1;
- }
- CMD:padobran(playerid, params[])
- {
- GivePlayerWeapon(playerid, 46, 1);
- SendClientMessage(playerid, -1, "Uzeo si padobran,prije nego sto skocis,pisi /vrati,da vratis zicaru");
- return 1;
- }
- CMD:komande(playerid, params[])
- {
- ShowPlayerDialog(playerid, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX, "KOMANDE", "/zicara /kreni /stop /padobran /komande /vrati", "Ok", "");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment