PDA

View Full Version : [FilterScript] [FS] PizzaBoy MiniMission (LV edition)


zeruel_angel
09/08/2007, 11:16 PM
PIZZA BOY MINIMISSION!
(las venturas EDITION)


Like in single player game, if you enter a special vehicle (in this case Pizza bike MODEL ID=448) You get a message saying that you can start special Minimission just by pressing "buttom 2". You can cancell it anytime by just by pressing "buttom 2" again. If you get off the vehicle for more than 10 sec during a MiniMission, you will cancell it. For every 5 times you complete this minimission, you will get a $PECIAL BONU$. All just like in Single Player Game.

Just follow instructions in "readme.txt" to install this MiniMission to your server.
It includes PWN and AMX, Readme.txt with instructions.
pizzaBoy1.txt Has 25 pizza deliver locations in Las Venturas (you can change them if you like)
PizzaBoy2.txt Has all 4 pizzerias in Las Venturas (you can add more in other citys)

NOTICE THAT, everityme you deliver a pizza, you are asigned to go to the nearest Pizerria, so if you add Pizzerias in other citys, it won't be a problem, but the places to deliver the pizzas are random, so if you add pizza deliver spots in other citys, you may get asigned a pizza to be delivered there, even if you are in the other part of the map.

Multi City support coming in next version.

.:: WARNING ::.
:::IF YOUR GAMEMODE USES RACECHECKPOINTS YOU MAY HAVE SOME TROUBLES:::

download Link:
English Version -> CLICK (http://zeruel.vndv.com/samp/almacen/PizzaBoy_EN.zip) <-
Spanish Version -> CLICK (http://zeruel.vndv.com/samp/almacen/PizzaBoy_ES.zip) <-
DUTCH Version -> CLICK (http://zeruel.mckroes.com/download.php?f=PizzaBoy_NL.rar) <- DUTCH TRANSLATION BY GTAMASTER

Here are some ScreenShots(just don't pay atention to the FUEL indicator ;D):
http://img168.imageshack.us/img168/8564/samp017gp2.th.png (http://img168.imageshack.us/my.php?image=samp017gp2.png)http://img380.imageshack.us/img380/9991/samp018ax3.th.png (http://img380.imageshack.us/my.php?image=samp018ax3.png)http://img380.imageshack.us/img380/9349/samp019ad5.th.png (http://img380.imageshack.us/my.php?image=samp019ad5.png)

http://img519.imageshack.us/img519/9469/samp020dk6.th.png (http://img519.imageshack.us/my.php?image=samp020dk6.png)http://img380.imageshack.us/img380/9145/samp022my8.th.png (http://img380.imageshack.us/my.php?image=samp022my8.png)http://img380.imageshack.us/img380/2993/samp022gv5.th.png (http://img380.imageshack.us/my.php?image=samp022gv5.png)

http://img380.imageshack.us/img380/8175/samp024az6.th.png (http://img380.imageshack.us/my.php?image=samp024az6.png)http://img168.imageshack.us/img168/2818/samp026ep6.th.png (http://img168.imageshack.us/my.php?image=samp026ep6.png)

Enjoy!

See you later!

serj009
10/08/2007, 02:26 AM
wow dude..thx so much..hope to see more! :mrgreen:

zeruel_angel
10/08/2007, 02:29 AM
I have some more FS... but savefile is not cooperating ¬¬

I'm trying to upload a "Xoomer" MiniMission... where you have to deliver fuel to gas station...
When I manage to upload it, you will see it in my signature...

See you later!

onehels
10/08/2007, 07:46 PM
Plz post this script too!

Antironix
10/08/2007, 07:47 PM
dont spam the topics for this mission and look good in the first post!.

download Link:
English Version -> http://www.savefile.com/files/957921
Spanish Version -> http://www.savefile.com/files/957922

Beginner
11/08/2007, 03:18 AM
Man. I dont know what to say - it's all perfect.

Maybe u will make a pack of MMs like [FS]MiniMission?

zeruel_angel
11/08/2007, 04:13 AM
Well... Thats not a bad idea at all... Maybe if I manage to make al [FS] with multiple city suport, and with checkpoints in all 3 citys, I will make it.
I have already starting doing the Multiple city suport system but again... I'm VERY lazy...
I Accept help with the location of the GAS STATION and PIZZERIAS, as well as PIZZA DELIVERY SPOTS and WRECKED CAR POSITIONS...
If you wanna contribute, you can! ;) In fact, everybody can! :o

See you later!

BTW BUS FilterScript and TAXI FilterScript have MULTIPLE CITY suport... and I missed the /calltaxi in TAXI FilterScript... maybe for next version...

Richy_Palifonic
11/08/2007, 04:31 AM
You should just post them all together in one package. I mean all your filterscripts.

Great work!

GtakriZ
11/08/2007, 08:14 AM
Nice work! You should make another 2, one for LS and one for SF ;)

Relax
11/08/2007, 03:00 PM
Very thx , Nice work

zeruel_angel
11/08/2007, 03:55 PM
Very thx , Nice work

THANKS!

GtakriZ ]
Nice work! You should make another 2, one for LS and one for SF ;)


as you can see...

Multi City support coming in next version.


i'm working on it, I making a unique FS that can determinate in wich city you are and assing you checkpoints for that city.
Anyway, if you just edit PizzaBoy1.txt and PizzaBoy2.txt you can have it to work anywhere, you (like me) just need the coords of the Pizzerias in LS and SF to make it work.

If anyone wants to contribute, you can drive a while in LS and SF and get the coords of all PIZERRIAS in those citys so ALL we can have this minimission for SF and LS

Thanks!

See you later!

Kowalski
11/08/2007, 09:05 PM
I read your script and found "Press Button 2". It's not everywhere equal. Players can change it in the game. You should use the ~k~ (key defination) symbol. ;)

Anyway very nice! 8)

Dmac_91
13/08/2007, 06:18 AM
This is probably a nooby question, But i'll shoot.

I did everything the readme said, Restarted the server and i went to every Pizza shop in LV and there is nothing there. Is there anything else i need to change?

Thanks.

zeruel_angel
13/08/2007, 04:46 PM
well, you need to add the pizza bikes by your self, they aren't incluided in the filter script
You can know if the filter script is working in your server by looking in the server_log or in your server window, you should see 2 messages,"PizzaBoy filterscript loading" and "PizzaBoy filterscript fully loaded"

See you later!

JaTochNietDan
05/09/2007, 06:08 PM
Great stuff. Added to Funserver. Imbedding for better preformance, all the new stuff i use from you will be credited to you in /credits.

zeruel_angel
05/09/2007, 06:21 PM
Great stuff. Added to Funserver. Imbedding for better preformance, all the new stuff i use from you will be credited to you in /credits.

Thanks for adding my code to your server is really a placesure to me, and sorry, performance IS NOT my last name hehehe. My coding is nice and simple, but NOT optimal, thats a thing I must learn to do.

See you later!

teqskater
17/09/2007, 07:58 PM
Very nice job. you have an little typo in your sript. its "button" instead of "buttom".btw how far are you in the multi city support part?
please i want to have that. i beg you :D.
ps can you pm me when you have integrated multi city support.

Gehaktbal
17/09/2007, 08:06 PM
Teqskater:
You can easily add them your self, you just have to open PizzaBoy1.txt and places more coords from the other cities in it, it's working perfect for me ;)

-Mao

teqskater
18/09/2007, 04:24 PM
yes i can do that BUT. when you get a pizza it is possible that you need to drive to the other side of San Andreas to deliver it. then it isnt fun anymore.

MaxDamage
19/09/2007, 04:38 PM
real great missions, i use almost all of them.
but i have a problem; the text printed on screen stays on real short....
ive tried to change the values in the script to 10000 ms (10sec right?) but still the same..

any suggestions would be appreciated

MD

Gehaktbal
19/09/2007, 05:14 PM
Just look up all the GameTextForPlayer and change the 3000 to your new time,
For example:
GameTextForPlayer(playerid,"~r~PizzaBoy ~n~ ~w~MiniMision ~n~ ~w~cancelled",3000,4);
change to:
GameTextForPlayer(playerid,"~r~PizzaBoy ~n~ ~w~MiniMision ~n~ ~w~cancelled",10000,4);

There are a few GameTextForPlayer in the script so make sure you change the right one!

Cya!

zeruel_angel
09/01/2008, 11:11 AM
First post updated! now we have a DUTCH VERSION! thanks to: GTAMASTER

enjoy!

DUTCH Version -> CLICK (http://zeruel.mckroes.com/download.php?f=PizzaBoy_NL.zip) <- DUTCH TRANSLATION BY GTAMASTER

SK077
20/01/2008, 09:21 PM
This script is very cool, but my server is only on LS and SF, so i want to change the coords in the two files, but I don't understand what is the last number in PizzaBoy1.txt, and why is there on the end of some line the letters AS ??
Thanks for all :D, I will give you my LS coords when i will have it done.

zeruel_angel
21/01/2008, 12:31 AM
HA HA HA :lol: :lol: :lol: :lol:

The last number :lol: :lol: :lol:

Its nothing...

sorry...

Its just the angle where I was looking when I used "/save"... I didn't deleted it, because I have a macro that edit the saveposition.txt file to make it look that way, for other FS i needed the angle too, and I forgot to change the macro.

The code only uses the first 3 groups of number, after them, you can write a letter if you want, because the code will ignore it. thats why I didn't erased it.

I can say that I did it on porpouse so ppl have to ask me after using or editing my code, but is a lie, I did it that way, because I'm lazy to edit a macro or to erase the number xD

You just need the coords in this way X[space]Y[space]Z[space]"here you can write anything, the code will ignore it, the idea is to leave a description of the coords"

I hope You can understand me, if not ASK ME AGAIN PLEASE!

See you later!

SK077
22/01/2008, 01:25 PM
Thank you for your reply, here you have my coords, take them if you want:

PizzaBoy2.txt

2101.4370 -1808.7480 13.1427

PizzaBoy1.txt

1863.3909 -1600.3267 13.2891
1972.8495 -1658.6835 15.5538
2071.0969 -1716.9229 13.1354
2181.7925 -1664.0758 14.3832
2243.8171 -1392.9431 23.5740
2230.7678 -1285.2742 24.9524
2384.4590 -1276.2360 23.8491
2486.5845 -1402.3268 28.4096
2629.4001 -1223.6635 56.5342
2809.4399 -1182.0559 24.9032
2861.3911 -1365.9695 10.6541
2486.1394 -1652.1694 13.0635
2336.9092 -1676.5475 13.1032
2326.1379 -1796.7935 13.1110
2284.2883 -1902.8363 13.1452
2462.9963 -2001.3501 13.1257
2520.1333 -2017.1986 13.1406
2676.2363 -1995.4944 13.1273
2783.5659 -1926.0905 13.1315
924.9862 -1824.4299 12.1644
281.0774 -1771.3873 4.0395
164.3710 -1770.6930 4.0071
132.4625 -1489.2701 18.2929
228.5329 -1402.1875 51.1887
354.5839 -1276.8849 53.4605
415.3776 -1157.6205 76.2598
552.6573 -1197.9060 44.1416
864.3870 -848.1014 76.7526
1442.5344 -632.8395 95.2743
1424.1578 -881.3347 50.0627
1336.3098 -1065.9568 27.2800
1153.9540 -1068.0503 28.1710
853.4461 -1519.9255 13.1120
810.3721 -1456.3861 13.1220
763.4091 -1607.8214 12.9680
697.4968 -1705.4305 2.8595
291.3265 -1618.3623 32.7429
486.9933 -1642.4529 23.2688
914.1615 -998.0214 37.6815
952.8093 -917.7385 44.6136
1289.6949 -888.1360 42.4517
1243.3182 -886.4820 42.4646

Grove
22/01/2008, 01:28 PM
Nice, are they the Pizza Stacks for all over SA?

SK077
22/01/2008, 02:34 PM
No, this is only Pizza Stacks for Los Santos, I didn't make my coords for San Fierro.

asteroid
22/01/2008, 03:20 PM
Hi zeruel! ^^Good to see you back

zeruel_angel
22/01/2008, 05:25 PM
Thank you for your reply, here you have my coords, take them if you want:

PizzaBoy2.txt

2101.4370 -1808.7480 13.1427

PizzaBoy1.txt

1863.3909 -1600.3267 13.2891
1972.8495 -1658.6835 15.5538
2071.0969 -1716.9229 13.1354
2181.7925 -1664.0758 14.3832
2243.8171 -1392.9431 23.5740
2230.7678 -1285.2742 24.9524
2384.4590 -1276.2360 23.8491
2486.5845 -1402.3268 28.4096
2629.4001 -1223.6635 56.5342
2809.4399 -1182.0559 24.9032
2861.3911 -1365.9695 10.6541
2486.1394 -1652.1694 13.0635
2336.9092 -1676.5475 13.1032
2326.1379 -1796.7935 13.1110
2284.2883 -1902.8363 13.1452
2462.9963 -2001.3501 13.1257
2520.1333 -2017.1986 13.1406
2676.2363 -1995.4944 13.1273
2783.5659 -1926.0905 13.1315
924.9862 -1824.4299 12.1644
281.0774 -1771.3873 4.0395
164.3710 -1770.6930 4.0071
132.4625 -1489.2701 18.2929
228.5329 -1402.1875 51.1887
354.5839 -1276.8849 53.4605
415.3776 -1157.6205 76.2598
552.6573 -1197.9060 44.1416
864.3870 -848.1014 76.7526
1442.5344 -632.8395 95.2743
1424.1578 -881.3347 50.0627
1336.3098 -1065.9568 27.2800
1153.9540 -1068.0503 28.1710
853.4461 -1519.9255 13.1120
810.3721 -1456.3861 13.1220
763.4091 -1607.8214 12.9680
697.4968 -1705.4305 2.8595
291.3265 -1618.3623 32.7429
486.9933 -1642.4529 23.2688
914.1615 -998.0214 37.6815
952.8093 -917.7385 44.6136
1289.6949 -888.1360 42.4517
1243.3182 -886.4820 42.4646


THANK YOU VERY MUCH!

I promise that someday I will make the famous multi-city filterscript... hehehe


Hi zeruel! ^^Good to see you back

Hi man! how are you doing?! thanks for the greetings!!

See you later!

Clank
07/03/2008, 10:00 PM
i got a problem... :S
if i enter a checkpoint nothing happens:S

TheGamerMan
07/03/2008, 10:07 PM
Add paramedic and viligant commands :)

El_Cid
25/03/2008, 07:05 AM
I dont like this Filterscript, because i am learning to script something for SA:MP, but i cant speak spanish and so i dont know what "Destinos" or what "avisado" means. If i want this FS it is nice, but to understand ist is very difficult for someone, who cant speak spanish


btw. sorry for my bad english ^^

zeruel_angel
25/03/2008, 11:19 AM
1) Sorry guys bad dutch link... here is the right one...

DUTCH Version -> CLICK (http://zeruel.mckroes.com/download.php?f=PizzaBoy_NL.zip) <- DUTCH TRANSLATION BY GTAMASTER

2)

I dont like this Filterscript, because i am learning to script something for SA:MP, but i cant speak spanish and so i dont know what "Destinos" or what "avisado" means. If i want this FS it is nice, but to understand ist is very difficult for someone, who cant speak spanish


btw. sorry for my bad english ^^

Good point there... you have right... anyway I can give you some advices if you want so you cant understand it better...
"Destinos" is used to store the destinations, Destinos means "Destinys"
"Avisado" is to check if the player was already "warned" and it is used to check if the player was warned about getting down the bike during a mission, so next time it get on a bike I use that to stop the coundown timer.
"Pizzerias": mean Pizza-shop, it stores the location of the pizza-shops
"contador" this mean "counter" is to know how many pizzas have already delivered usd for the bonus thing)
"cantidadDestinos" This means "cuantity of destinys" It used to know how many destinis were uploaded from the file
"cantidadPizzerias" This means "cuantity of pizza-shop" It used to know how many pizza-shop were uploaded from the file

I hope this help you.

ANYWAY I FORGOT TO MENTION, THIS IS NOT ANYMORE LV VERSION, NOW IS A MULTICITY VERSION, YOU JUST NEED TO ADD MORE PIZZA-SHOP AND MORE DESTINATIONS IN THE RIGHT FILE!!!! AND IF YOU ARE IN SAN FIERRO, YOU WON'T GET TO DELIVER A PIZZA TO LOS SANTOS. DON'T WORRY ;)

See you later!

mascii
08/07/2008, 01:54 AM
umm i got a question.

when i hop on the bike this message does not come up ..

http://img168.imageshack.us/my.php?image=samp017gp2.png

please help.

everything else works perfectly once i have pressed 2.

thanks

also can only have a max of 25 delivery locations?? :s

[IB]Scorcher
08/07/2008, 04:28 AM
Nice man.

BillyBob31
15/07/2008, 06:47 PM
umm i got a question.

when i hop on the bike this message does not come up ..

http://img168.imageshack.us/my.php?image=samp017gp2.png

please help.

everything else works perfectly once i have pressed 2.

thanks

also can only have a max of 25 delivery locations?? :s


same exact problem !! when i get on pizza bike nothing apears saying push 2 but everything else works

zeruel_angel
30/07/2008, 12:16 AM
umm i got a question.

when i hop on the bike this message does not come up ..

http://img168.imageshack.us/my.php?image=samp017gp2.png

please help.

everything else works perfectly once i have pressed 2.

thanks

also can only have a max of 25 delivery locations?? :s


same exact problem !! when i get on pizza bike nothing apears saying push 2 but everything else works

Maybe you have another FS interfering with this one, for example a FS that tells you the name of the car you have just entered, try running the server with only this FS.

BTW

new Destinos[200][posicion];
new Pizzerias[20][posicion];

You can have 200 destinations and 20 pizza shops, you just add the coords in the files.

See you later!

Jamould
15/09/2008, 05:21 PM
Is it alright if you upload this to pastebin.

SAW-RL
15/09/2008, 07:47 PM
NIce for RP server^^

matt2127
15/09/2008, 07:52 PM
can you please fix your cellphone script?

zeruel_angel
16/09/2008, 03:07 AM
I'm working on it on my free time. I have a new system, but is still on BETA.

I'm trying to add some nice phoneList, I have already added a in-menu SMS system to read ALL your SMS, also, you always have the same phone number and you can get SMS even when you are OFF-LINE

But it needs a little more work... SORRY

See you later!

revenger48
22/09/2008, 11:22 PM
very good it works perfect :mrgreen:
how can i add more places?

Jimuro
27/09/2008, 10:29 AM
I added to pen1 nothing seems to happen like its not loaded

fritz_rl
27/09/2008, 10:55 PM
portuguese brasilian:
http://www.savefile.com/files/1810172

Abox
31/03/2009, 11:57 PM
Script translated in french by me :

//------------------------------------------------------------------------------
//
// PizzaBoy miniMission Filter Script v1.0
// Designed for SA-MP v0.2.1
//
// Created by zeruel_angel
// Translated in French by Dante_Steven(Abox)
//------------------------------------------------------------------------------

#define BONUS 200
#include <a_samp>
enum posicion{
Float:X,
Float:Y,
Float:Z
}
#define BONUS 200
#define MAX_CASH 1000
#define MIN_CASH 500
new Destinos[100][posicion];
new Pizzerias[20][posicion];
new archDestinos[]="PizzaBoy1.txt";
new archPizzerias[]="PizzaBoy2.txt";
new contador[MAX_PLAYERS];

new playerInMiniMission[MAX_PLAYERS];
new avisado[MAX_PLAYERS];
new cantidadDestinos;
new cantidadPizzerias;

forward terminarMission(playerid);

public OnFilterScriptInit()
{
print("\nPIZZABOY Filter Script v1.0 Chargement...\n******************************\n (Zeruel_Angel)\n");
new File:filePizza;
new lineaPizza[255];
filePizza = fopen(archDestinos,io_readwrite);
new j=0;
new idx;
while ((fread(filePizza,lineaPizza,sizeof(lineaPizza),fa lse))&&(j<25))
{
idx = 0;
Destinos[j][X] = floatstr(strtok(lineaPizza,idx));
Destinos[j][Y] = floatstr(strtok(lineaPizza,idx));
Destinos[j][Z] = floatstr(strtok(lineaPizza,idx));
j++;
}
cantidadDestinos=j;
fclose(filePizza);
format(lineaPizza,sizeof(lineaPizza),"Destinations chargées: %d", cantidadDestinos);
print(lineaPizza);

filePizza = fopen(archPizzerias,io_readwrite);
j=0;
while ((fread(filePizza,lineaPizza,sizeof(lineaPizza),fa lse))&&(j<25))
{
idx = 0;
Pizzerias[j][X] = floatstr(strtok(lineaPizza,idx));
Pizzerias[j][Y] = floatstr(strtok(lineaPizza,idx));
Pizzerias[j][Z] = floatstr(strtok(lineaPizza,idx));
j++;
}
cantidadPizzerias=j;
fclose(filePizza);
format(lineaPizza,sizeof(lineaPizza),"Pizzerias chargées: %d", cantidadPizzerias);
print(lineaPizza);
for (new i=0;i<MAX_PLAYERS;i++)
{
playerInMiniMission[i]=-1;
avisado[i]=-1;
}
print("PIZZABOY Filter Script chargé completement\n**********************************\n \n");
}

public OnFilterScriptExit()
{
print("\n**********************\n*PizzaBoy Script dechargé*\n**********************\n");
return 1;
}
//------------------------------------------------------------------------------------------------------
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
//------------------------------------------------------------------------------------------------------
public terminarMission(playerid)
{
GameTextForPlayer(playerid,"~r~Livreur de Pizza ~n~ ~w~MiniMision ~n~ ~w~annullee",3000,4);
playerInMiniMission[playerid]=-1;
avisado[playerid]=-1;
DisablePlayerRaceCheckpoint(playerid);
contador[playerid]=0;
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if (newstate==PLAYER_STATE_DRIVER)
{
if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 448)
{
if (avisado[playerid]==-1)
{
GameTextForPlayer(playerid,"~w~Appuyez sur ~b~la touche 2~n~~w~pour commencer la ~r~MiniMission~n~~w~Livreur de pizzas",3000,5);//SetTimerEx("MandarMensaje",5500,0,"%d",playerid);
}
else
{
KillTimer(avisado[playerid]);
avisado[playerid]=-1;
}
}
}
if (newstate==PLAYER_STATE_ONFOOT)
{
if ((playerInMiniMission[playerid]>0)&&(avisado[playerid]==-1))
{
GameTextForPlayer(playerid,"~w~Vous avez ~r~10 sec ~n~~w~ pour entrer dans le vehicule appoprié a la mission.",3000,4);
avisado[playerid]=SetTimerEx("terminarMission",10000,0,"%d",playerid);
}
}
return 1;
}
//------------------------------------------------------------------------------------------------------
getNearestPizzeria(Float:X1,Float:Y1,Float:Z1)
{
new index;
new Float:distOld=9999.0;
new Float:distNew=0.0;
for (new i=0;i<cantidadPizzerias;i++)
{
distNew=floatsqroot(floatpower(floatabs(floatsub(P izzerias[i][X],X1)),2)+floatpower(floatabs(floatsub(Pizzerias[i][Y],Y1)),2)+floatpower(floatabs(floatsub(Pizzerias[i][Z],Z1)),2));
if (distNew<distOld)
{
distOld=distNew;
index=i;
}
}
return index;
}
//------------------------------------------------------------------------------------------------------
pizzeriaAcasa(playerid)
{
new Float:X1,Float:Y1,Float:Z1;
GetPlayerPos(playerid,X1,Y1,Z1);
new index = getNearestPizzeria(X1,Y1,Z1);
new index2 = random(cantidadDestinos);
DisablePlayerRaceCheckpoint(playerid);
SetPlayerRaceCheckpoint(playerid,0,Pizzerias[index][X],Pizzerias[index][Y],Pizzerias[index][Z],Destinos[index2][X],Destinos[index2][Y],Destinos[index2][Z],3.0);
playerInMiniMission[playerid]=index2;
return 1;
}
//------------------------------------------------------------------------------------------------------
casaApizzeria(playerid)
{
new index2 = playerInMiniMission[playerid];
new index = getNearestPizzeria(Destinos[index2][X],Destinos[index2][Y],Destinos[index2][Z]);
DisablePlayerRaceCheckpoint(playerid);
SetPlayerRaceCheckpoint(playerid,0,Destinos[index2][X],Destinos[index2][Y],Destinos[index2][Z],Pizzerias[index][X],Pizzerias[index][Y],Pizzerias[index][Z],3.0);
playerInMiniMission[playerid]=0;
return 1;
}
//------------------------------------------------------------------------------------------------------
MissionIni(playerid)
{
GameTextForPlayer(playerid,"~r~MiniMission ~w~Livreur de Pizzas ~w~Commence!~n~ Vite! allez a la plus proche des ~r~ pizzeria~w~!",3000,4);
pizzeriaAcasa(playerid);
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys==KEY_SUBMISSION)&&(IsPlayerInAnyVehicle(playerid))&&(GetPlayerState(playerid)==PLAYER_STATE_DRIVER))
{
if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 448)
{
if (playerInMiniMission[playerid]<0)
{
MissionIni(playerid);
}
else
{
terminarMission(playerid);
}
}
}
}
//------------------------------------------------------------------------------------------------------
public OnPlayerEnterRaceCheckpoint(playerid)
{
if (playerInMiniMission[playerid]!=-1)
{
if (playerInMiniMission[playerid]==0)
{
GameTextForPlayer(playerid,"~r~Pizza ~w~livree!~n~ Vite! allez a la plus proche des ~r~ pizzeria~w~~n~ Plus de boulot!",3000,3);
new cash=(random(MAX_CASH-MIN_CASH)+MIN_CASH);
GivePlayerMoney(playerid,cash);
pizzeriaAcasa(playerid);
contador[playerid]++;
}
else
{

if ((((contador[playerid]/5)*5)==contador[playerid])&&(contador[playerid]!=0))
{
new string[255];
format(string,sizeof(string),"Vous recevez un ~r~BONUS ~w~ toutes les 5 pizzas!.~n~Vous avez livrés %d pizzas votre bonus est ~n~~b~$%d",contador[playerid],contador[playerid]*BONUS);
GameTextForPlayer(playerid,string,3000,3);
}
else
{
GameTextForPlayer(playerid,"~w~Livrez rapidement cette ~n~~r~pizza",3000,3);
}
casaApizzeria(playerid);
}
}
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDisconnect(playerid)
{
terminarMission(playerid);
return 1;
}

wesley545
01/04/2009, 04:42 AM
So here's the deal, I modded the script a bit so it's drugs and Virgos instead of Pizzas and Pizzaboys. Now, when I get into a Virgo, it says 'Press 2, blah blah blah.' I press 2 and nothing happens.

What gives?

CaLaP
16/09/2009, 10:37 AM
need mirror

Deat_Itself
16/09/2009, 11:01 AM
goodgood :)

[XST]O_x
16/09/2009, 01:03 PM
Hey this is Very nice :)
But i need someone to post a mirror,cuz the download link of english version is not working :s

GforceNL
20/10/2009, 01:32 PM
Hey this is Very nice :)
But i need someone to post a mirror,cuz the download link of english version is not working :s


mirror please :D

not
01/11/2009, 09:53 PM
Download link (spanish version) please don´t work :( PLEASE MIROR!!!! Use pastebin :)

Ethan_Hunt
27/11/2009, 06:58 AM
this link is death :(

WILD33
27/11/2009, 10:31 AM
who can reload this FS?who has english version,reload plz ;)
PS sorry for my bad English

DizeL-ZR-
28/11/2009, 03:00 PM
give me download link :(

cristab
28/11/2009, 03:03 PM
« le: 10-08-2007, 00:16:38 » 8)

WILD33
29/11/2009, 04:29 PM
« le: 10-08-2007, 00:16:38 » 8)

repeat for stupid me,what are you?I have nothing for the time that you have

nenadninja
19/12/2009, 12:33 PM
death link!

arjunaryas
19/12/2009, 03:34 PM
Dead link dude, Please update your links for english version . I really need this script for my server.

WILD33
19/12/2009, 05:48 PM
and i'm :D

WILD33
24/12/2009, 04:30 PM
:(

[zZz]Sl4y
04/01/2010, 09:42 PM
Download link's dead.

zeruel_angel
11/01/2010, 02:49 AM
Ok, exactly 2 years after last edit, I have reuploaded the files.

See you later!

Lightning[SV]
13/01/2010, 02:30 PM
Thanks for reuploading this :D

ViruZZzZ_ChiLLL
13/01/2010, 04:44 PM
Thanks for reuploading this :D

Yeah, thanks :D
________
LSV (http://vaporizer.org/)

arjunaryas
15/01/2010, 04:01 PM
Thanks man,finally you are back after 11 months.

RenisiL
15/01/2010, 05:37 PM
Very very nice MiniMission :D

WILD33
15/01/2010, 06:56 PM
thanks ;)

GooMan
11/08/2010, 03:32 AM
Here is my German Version:
http://rapidshare.com/files/412254082/PizzaBoy_DE.rar

http://www.multiupload.com/FNLB9GD0X5

Shadow_Gengar
11/08/2010, 12:39 PM
Hey man, great job, I would like to translate this into german language (:
Ok? Do you've any Instant Messenger? ;D

Edit: @top: xDD ok sry I didn't see your post ^_~

ofekw2
21/07/2012, 05:56 PM
Sorry for my bad English but I can not download the system
Can anyone help me who can then add me to Skype My Skype is ofekamsi
And who can not can send me pastbin of English here thanks