Idea... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Idea... (
/showthread.php?tid=151335)
Idea... -
aleancuervo - 30.05.2010
Well its just an idea to a good scripter.. But i realized about it and would be nice if sum1 know how to do that...
The idea is the next: 1) You go to a 24/7 then do /buy and you can buy other things like cereals, meat, drinks etc...
2) The things that you buy on the 24/7 make a list: Example:
1:Cereals
2:Meat
3:Beers
4: Nothing
5: Nothing
3) Then you go to ur house, to ur fridge and to something like /save 1: Then u will save cereals.... or /take 1 and you will take cereals from the fridge..
Just an idea.. I dunno if sum1 done something similar...
Well, maybe this inspire sum1 to do a good script
Cya
Re: Idea... -
Kar - 30.05.2010
nice cool idea
i think it could be like
after u bought the stuff go to ur fridge and type /openfridge or /open and the stuff pop up u choose which 1 u want and eat it:P
Re: Idea... -
coole210 - 30.05.2010
once he types but just add..
Код:
ShowPlayerDialog(playerid,IDOFDIALOG,DIALOG_STYLE_LIST,"Cereal\nMeat\nBeer","Select","Close");
Then go to the dialog public function and add:
Код:
if(dialogid == IDOFDIALOG)
{
if(!response) return 1;
if(listitem == 0)
{
if(GetPlayerMoney(playerid) < price of cereal) return SendClientMessage(playerid,COLOR,"You do not have enough money!");
SendClientMessage(playerid,COLOR,"You bought cereal");
Cereal[playerid] = Cereal[playerid] + 1;
}
}