Object spawn with button
#1

Welcome!
I say what I need and what I ask for your help!
30 sec after the start of the gamemode,
players of "5" key could spawn an explosive barrel behind them.
This can be used every 30 seconds.
$ 4,000 will be used occasionally.
Please help me I just can not figure it out.
Thank you in advance, for your help and your attention!
Reply
#2

can you please re explain this i'm not really sure what you mean

players of key "5" ?
and the $4000 will be used?



i take it as
you want to let players create explosive barrels
every 30 secs, and take money from them when they do so,
and maybe use the Key "5" to create the barrel?
Reply
#3

I'm sorry!
I need to be exactly what you described!
Went the Rep!
Reply
#4

you will need the following functions

https://sampwiki.blast.hk/wiki/CreateObject
https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/GetPlayerMoney
https://sampwiki.blast.hk/wiki/GivePlayerMoney
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/SetTimer


what you ask for is a request and does not go in this forum,
their is a Request Thread for this, people who like to build things
for others check it regularly.
or..
i suggest you to try and create it yourself and post any errors with your code.


good luck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)