Szerző Téma: Úttisztitó Munka  (Megtekintve 3244 alkalommal)

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Úttisztitó Munka
« Dátum: 2012. Május 03. - 14:39:24 »
+7 Show voters
Üdv. Bemutatom az 1. Munka FilterScriptemet a neve : Úttisztitó
és Pvarral oldottam meg néhol amit kell!
Parancsok : /uttisztito - Munka Felvétele
/kezd a munka elkezdéséhez
/felmond a felmondáshoz
Készitési Idõ : 0 év - 1 hónap - 2 Hét - 30 perc  (Csak azért 2 hét mert néhányszor abbahagytam!)
Készitette: Blade.
Ha Akarod letöltheted  itt  : http://www.solidfiles.com/d/f3b1e9c7b5/
Itt a kód ha nem akarod letölteni :
 
//--------------------Úttisztitó Munka----------------------
//---Készitette Blade. aka ZzzzzZ
//CopyRight 2012-2013
#include <a_samp>
#include zcmd
#include colors
#include fixchars
#define Uttisztito 1
#define Munka_Nincs 1
new Float: UTCP[][3] =
{
{2395.474121,72.071006,26.335937},
{2396.726318,40.232975,26.339859},
{2449.178222,38.290435,26.337245},
{2461.075927,-2.456030,26.335937},
{2450.758789,-24.670166,26.335937},
{2400.211425,-26.560487,26.339172},
{2355.831298,-26.018960,26.336940}
};
public OnFilterScriptInit()
{
AddStaticVehicle(574,2422.5474,97.7659,26.2019,90.0070,112,4); //
AddStaticVehicle(574,2422.3311,94.3416,26.2017,85.1005,16,17); //
AddStaticVehicle(574,2422.5322,86.5886,26.2018,92.2358,70,119); //
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
CMD:uttisztito(playerid,params[])
{
SetPVarInt(playerid,\"Uttisztito\",Uttisztito);
SendClientMessageToAll(COLOR_RED,\"Valaki úttisztitó munkába ált!\");
SetPlayerPos(playerid,2390.1873,99.3551,26.4766);
SetPlayerSkin(playerid,16);
SendClientMessage(playerid,COLOR_GREEN,\"Szálj be 1 sweeperbe és kezd el a munkát! /kezd\");
return 1;
}
CMD:kezd(playerid,params[])
{
if(GetPVarInt(playerid,\"Uttisztito\") == Uttisztito)
{
SendClientMessage(playerid,COLOR_RED,\"Elkezdted a munkát! Menj a Piros Checkpointokba\");
new rand = random(sizeof(UTCP));
SetPlayerCheckpoint(playerid, UTCP[rand][0],UTCP[rand][1],UTCP[rand][2], 4);
GameTextForPlayer(playerid, \"~g~Elkezdted a munkát!\", 3000, 3);
}
else if(GetPVarInt(playerid,\"Uttisztito\") == Munka_Nincs)
{
SendClientMessage(playerid,COLOR_RED,\"Nem vagy Uttisztitó!(/uttisztito)\");
}
return 1;
}
CMD:felmond(playerid,params[])
{
if(GetPVarInt(playerid,\"Uttisztito\") == Munka_Nincs) SendClientMessage(playerid,COLOR_RED,\"Eddig Sem Voltál Uttisztitó\");
{
SendClientMessage(playerid,COLOR_RED,\"Úgy döntöttél hogy abba hagyod a munkát!\");
DisablePlayerCheckpoint(playerid);
}
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
new rand = random(sizeof(UTCP));
SetPlayerCheckpoint(playerid,UTCP[rand][0],UTCP[rand][1],UTCP[rand][2],4);
new atm = random(200);
GivePlayerMoney(playerid,atm);
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
DisablePlayerCheckpoint(playerid);
return 1;
}

 
Videót majd készitek Róla!

Nem elérhető Dead

  • 2045
    • Profil megtekintése
Úttisztitó Munka
« Válasz #1 Dátum: 2012. Május 03. - 15:49:02 »
0 Show voters
Szép munka!

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Úttisztitó Munka
« Válasz #2 Dátum: 2012. Május 03. - 16:51:04 »
0 Show voters
Idézetet írta: Dead date=1336052942\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20948\" data-ipsquote-contentclass=\"forums_Topic
Szép munka!
 
kösze

Nem elérhető BoOy

  • 3209
  • 2013-as év szkriptere
    • Profil megtekintése
Úttisztitó Munka
« Válasz #3 Dátum: 2012. Május 03. - 17:22:27 »
0 Show voters
Idézetet írta: Dead date=1336052942\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20948\" data-ipsquote-contentclass=\"forums_Topic
Szép munka!
 

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
Úttisztitó Munka
« Válasz #4 Dátum: 2012. Május 03. - 19:19:01 »
0 Show voters
Tehettél volna rá víz és buborék objectet

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Úttisztitó Munka
« Válasz #5 Dátum: 2012. Május 03. - 20:25:58 »
0 Show voters
majd legközelebb azt is rakok rá :D
@BoOy Kösz :D

Nem elérhető Dead

  • 2045
    • Profil megtekintése
Úttisztitó Munka
« Válasz #6 Dátum: 2012. Május 04. - 06:57:15 »
0 Show voters
Idézetet írta: #Nexus# date=1336065541\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20948\" data-ipsquote-contentclass=\"forums_Topic
Tehettél volna rá víz és buborék objectet
 
Jó ötlet! (mi az idjük) megpróbàlom megcsínálni.
E: 0.3eRC7 -et a SetObjectMateriatText -el rálehetne írni, hogy úttisztító.

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Úttisztitó Munka
« Válasz #7 Dátum: 2012. Május 04. - 08:29:12 »
0 Show voters
tudom , de én maradi vok :) ink maradok d-n :)

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
Úttisztitó Munka
« Válasz #8 Dátum: 2012. Május 04. - 16:19:37 »
+1 Show voters
Tessék :
 
SetPlayerAttachedObject(playerid,vizviseles(playerid),18720,1,-1.799999,1,-1.7,0,0,0,1,1,1);
public vizviseles(playerid)
{
for(new i = 0; i < MAX_PLAYER_ATTACHED_OBJECTS; ++i)
{
if(!IsPlayerAttachedObjectSlotUsed(playerid, i))
{
   if(vizvisel[playerid] == -1)
   {
      vizvisel[playerid] = i;
      return vizvisel[playerid];
   }
   return vizvisel[playerid];
}
}
return 1;
}

Úttisztitó Munka
« Válasz #9 Dátum: 2012. Május 26. - 17:36:17 »
0 Show voters
Esetleg ki tudnád úgy egészíteni, hogy lehessen vele pénzt is keresni? Mondjuk timerrel 5 percenként kapna Pl.: 500 ezret.

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Úttisztitó Munka
« Válasz #10 Dátum: 2012. Május 26. - 19:45:56 »
0 Show voters
lehetséges.

Nem elérhető Alvin

  • 1137
    • Profil megtekintése
Úttisztitó Munka
« Válasz #11 Dátum: 2012. Május 26. - 19:58:56 »
+1 Show voters
szép megy a +

Nem elérhető ervin990911

  • 910
  • ervin990911
    • Profil megtekintése
Úttisztitó Munka
« Válasz #12 Dátum: 2012. Május 26. - 23:58:08 »
+1 Show voters
BRAVO!!!  :thumbsup:

Nem elérhető zeteni

  • 1970
  • Ex-Scripter
    • Profil megtekintése
Úttisztitó Munka
« Válasz #13 Dátum: 2012. Május 27. - 00:04:51 »
0 Show voters
Jó lett. Így tovább! Készíthetnél több munkát is!

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Úttisztitó Munka
« Válasz #14 Dátum: 2012. Május 27. - 10:55:14 »
0 Show voters
Idézetet írta: zeteni date=1338069891\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20948\" data-ipsquote-contentclass=\"forums_Topic
Jó lett. Így tovább! Készíthetnél több munkát is!
 
Tudom , ha lesz idõm elkezdek valami pofásat  :hmmm:

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal