Unmovable vehicle [REP++]
#4

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
you can't put a callback in the script and leave it without a calling function.. it's like nothing in the script.
use a timer, callback function that is called by the timer it's self.
pawn Код:
new vtimer;
public OnGameModeInit()
{
     vtimer = SetTimer("Dealercars", 100, true); // this timer for the dealercars callback, per 100 ms, and repeatable.
     return 1;
}
pawn Код:
public OnGameModeExit
{
     KillTimer(vtime);
     return 1;
}
I did what you said but not working.. still i can move cars and them are not respawning.., probably public Dealercars() is wrong?
Reply


Messages In This Thread
Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 17:07
Re: Unmovable vehicle [REP++] - by Sawalha - 07.12.2014, 17:13
Re : Unmovable vehicle [REP++] - by ManuelNeuer - 07.12.2014, 17:16
Re: Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 17:20
Re: Unmovable vehicle [REP++] - by Sawalha - 07.12.2014, 17:33
Re: Unmovable vehicle [REP++] - by M4D - 07.12.2014, 17:35
Re: Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 17:55
Re: Unmovable vehicle [REP++] - by buburuzu19 - 07.12.2014, 18:17
Re: Unmovable vehicle [REP++] - by buburuzu19 - 08.12.2014, 09:58
Re: Unmovable vehicle [REP++] - by buburuzu19 - 08.12.2014, 10:03

Forum Jump:


Users browsing this thread: 4 Guest(s)