Includes
Autor: [M4TH3U5] | Publicado: 2011-01-22T05:14:00-08:00

  [Include] Radar Veicular   Sem comentários »   
#fullpost{display:none;}
 Otimo Include Para GM's Estilos RP/RPG..

Dao uma Olhada no Video de Demontraçao Ai! :D





Agora Vamos Para o Passos de Como Inserir!

Lista de natives:


Pawn Code
--&nbsp;
native lr_CriarRadar(Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, virtualword = -1);
native lr_DestruirRadar(lrid);
native lr_RadarExiste(lrid);
native lr_MudarPosRadar(lrid, Float:x, Float:y, Float:z);
native lr_MudarVWRadar(lrid, virtualworld);
native lr_PegarPosRadar(lrid, &amp;Float:x, &amp;Float:y, &amp;Float:z);
native lr_PegarVWRadar(lrid);


-- 
Modo de uso:
No public OnGameModeInit() de seu GameMode. (OnFilterScriptInit para FS)
Coloque o seguinte código.


Pawn Code
--
CreateRadar();//ele irá criar a textdraw (flash)

lr_CriarRadar(X, Y, Z, VelocidadeMaximaPermitida);//ele irá criar o radar.
//exemplo:

lr_CriarRadar(1257.644287, -1332.972900, 12.756792, 50);//Radar na frente do hospital.
--


Instalação:
Adicione a nova public OnPlayerEnterRadar(playerid).


Pawn Code
--
//Exemplo de uso:
public OnPlayerEnterRadar(playerid)
{
&nbsp; &nbsp; SendClientMessage(playerid, 0xAA3333AA, "Você passou no radar e foi multado em $500.");
&nbsp; &nbsp; GivePlayerMoney(playerid, -500);
&nbsp; &nbsp; return 1;
}
--


Topo do GameMode:


Pawn Code


--
#include "LR"
-- 






&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;


Feito por: Larceny
  
checkFull("post-" + "5065854468983464565");
   Postado por: Vitor_Souza 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-5065854468983464565")); } 
    Pacotão com 74 includes   Sem comentários »   
#fullpost{display:none;}
 Listas de includes:a_irc, a_npc, a_objects, a_players, a_samp, a_sampdb, a_sampmysql
a_vehicles, animations, budb, c_vehicleinfo, core, cpstream, datagram
dcallbacks, DFiles, Dini, dprop, dtest, dubd, dudb, DUDB_conf, DUDB2
DUDB3, DUDB22, dudbmaster, dutils, eINC021, file, float, gl_common
gl_spawns, GP, GTODUDB, HidNat, IsPlayerLAdmin, KIHC, lethaldudb2
LGZ, lrp, md5, MidoStream, morphinc, PCash, PGD, PGP_1.15d, YSI
properties 1.6.8, properties, PSF, Ranks, rmi, rotcam, rStreamer, zcmd
seif_cursor, seif_fight, seif_text, seif_vehicles, SimpleFiles, string, YSF
SuperStream, SVStream, time, UAC, udb, uf, utils, vstream, Y_Objects
XtremeAdmin, yom_buttons, XRegistration

622 Kb  
checkFull("post-" + "355362805418959275");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-355362805418959275")); } 
    Y_Objects   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "4550527309909576288");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-4550527309909576288")); } 
    XtremeAdmin   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "6765230134071713878");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-6765230134071713878")); } 
    XtremeAdmin   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "2108102682148661239");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-2108102682148661239")); } 
    XRegistration   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "7946581926496121582");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-7946581926496121582")); } 
    utils   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "5650043318184428342");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-5650043318184428342")); } 
    uf_online   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "2795480389564451807");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-2795480389564451807")); } 
    udb   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "8435809942018274980");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-8435809942018274980")); } 
    UAC   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "1093044208953246164");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-1093044208953246164")); } 
    time   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "1849176519620060275");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-1849176519620060275")); } 
    string   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "1153515537319877183");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-1153515537319877183")); } 
    Sinclude   1 comentário   
#fullpost{display:none;}
    
checkFull("post-" + "6053200264635378745");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-6053200264635378745")); } 
    seif_text   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "5710596083435712885");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-5710596083435712885")); } 
    properties_168   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "9148370715142229939");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-9148370715142229939")); } 
    PGP   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "4356868393728109071");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-4356868393728109071")); } 
    morphinc   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "2619595380572366158");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-2619595380572366158")); } 
    MOD   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "3659590137428178515");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-3659590137428178515")); } 
    LegendObjectStream   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "4336742941328346423");
   Postado por: Stakline 
if (window['tickAboveFold']) {window['tickAboveFold'](document.getElementById("latency-4336742941328346423")); } 
    language   Sem comentários »   
#fullpost{display:none;}
    
checkFull("post-" + "5009725565410758699");
   Postado por: Stakline