[HELP] Object Destroyed [HELPP ME PLEASEE :(]
#1

Okay , i make my new map called Rebounce, and it have the orange balls , but when my car hit many times they destroy, and i need to restart my server to the map reset , cam I make a command to the balls reset ?

Bye ~
Reply
#2

Just set a timer ever x amount of seconds to destroy the Balls then recreate them
Reply
#3

How could I do it ?

I am noob
Reply
#4

Sorry for double post , but HELP ME !
Reply
#5

pawn Код:
// Top of script
forward RecreateObject();
// Under OnGameModeInit
SetTimer("RecreateObject", x, 1);
// At the bottom of your script
public RecreateObject()
{
DestroyObject(w/e);
CreateObject(w/e)
return 1;
}
Reply
#6

errr... where I put the time ? ;x

And one more thing look it at sa-mp wiki

https://sampwiki.blast.hk/wiki/SetTimer

Need to be forwarded and public , you gave me stock , is correct ?
Reply
#7

SORRY AGAIN FOR DOUBLE POST ... BUT ...

ANSWER THE QUESTION PLEASE !

where I put the time on the timer? I would like every 2 minutes (120 secs)

And one more thing look it at sa-mp wiki

https://sampwiki.blast.hk/wiki/SetTimer

Need to be forwarded and public , you gave me stock , is correct ?
Reply
#8

DONT DOUBLE POST, And i fixed it nao
Reply
#9

Thank you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)