speed cam flash [+Rep]
#1

hello guys
today i make a speed cam system saves(id,positions,range,limit) and all works fine

but i need an idea for how to make the flash when the player is range of the speedcam and it will take some money from player


please help me

sorry for my bad englsih
Reply
#2

just create textdrawbox color white on all screen
Reply
#3

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
just create textdrawbox color white on all screen
but where to set string and take some money from player is it OnplayerUpdate callback?
Reply
#4

use timer and public
pawn Код:
public OnFilterScriptInit()
{
   SetTimer("yourpublic", 500, true);
   return1;
}

forward yourpublic(playerid);

public yourpublic(playerid)
{
    /// your code/////////////
    return 1;
}
Reply
#5

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
use timer and public
pawn Код:
public OnFilterScriptInit()
{
   SetTimer("yourpublic", 500, true);
   return1;
}

forward yourpublic(playerid);

public yourpublic(playerid)
{
    /// your code/////////////
    return 1;
}
ok thanks +repped
rep me back if you want
thanks again
Reply
#6

i will rep you tommarow
cant rep today anymore
Reply
#7

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
i will rep you tommarow
cant rep today anymore
no problem mate thnx
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)