FiveGame SA:MP GameMod, Tutoriale
http://fivegame.amforum.net/t153-preturi-admin-hel
Grand Theft Auto Multiplayer


Ţin să te anunţ că http://fivegame.amforum.net este în căutare de moderatori pentru diferite categorii ale forumului, acestea sunt Ajutor Scripting, Gamemode-uri , Filterscript-uri, Designer

Că să fiţi moderator trebuie să intepliniti următoarele cerinţe:

Să aveţi minim 15 ani. Să aveţi experienţă în PAWN sau C++. Să vorbiţi corect şi să scrieţi corect. Să respectaţi pe ceilalţi din jur. Să aveţi minim 1-2 ore dedicate forumului pe zi.

FiveGame SA:MP Daca aveti orice fel de intrebari nu ezitati sa ne contactati. O zi buna, Echipa FiveGame.AmForum.Net
93.119.26.230:7777

de inceput 14kk+ level 3 + 6rp /getgift on

SYSTEME NOII,EVENTE new NOII COMENZI /JOINMISSION NEW /AREPAIR /ASKINS /ARED /ABLUE /AMOV /AVERDE /gnod /gms SI MULTE ALTELE COMENZI

va asteptam cu drag.
nu itati si de formul nostru fivegame.amforum.net
93.119.26.230:7777
http://rpg-fivegame.esy.es
FiveGame RPG

FiveGame RPG

Mai 2017
LunMarMierJoiVinSamDum
1234567
891011121314
15161718192021
22232425262728
293031    

Calendar

Flux RSS

Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 
Navigare
 Portal
 Index
 Membri
 Profil
 FAQ
 Cautare
Cine este conectat?
In total sunt 3 utilizatori conectati: 0 Inregistrati, 0 Invizibil si 3 Vizitatori :: 2 Motoare de cautare

Nici unul

Vizualizeaza toata lista

Parteneri


forum new Fivegame RPG
http://fivegame.esy.es




Fan http://mobiclub.hi2.ro


Anunturi

    Nu exista anunturi disponibile


    Distribuiti
    Vezi subiectul anteriorIn josVezi subiectul urmator
    avatar
    KeNz[]
    Admin GTA
    Admin GTA
    Mesaje : 31
    Data de inscriere : 12/04/2016
    Varsta : 15

    FS[Anti Car jacker]

    la data de 25/4/2016, 20:26
    Nume script: Sistem anti furt de masini/motoare
    Continut: contine doua comenzi...una /carjack0 si alta /carjack1
    Descriere: Acesta este un FS pentru a nu putea fi furate masinile personale.asa cred eu..l-am gasit pe net!
    Link download: http://pastebin.com/2MdQChCF
    Un mic tutorial: se introduce acest cod:


    ////ANTI Carjack [FS]///
    //By : ViruZZzZ_ChiLLL//
    ////ANTI Catjack [FS]///
    #include
    #define COLOR_RED 0xCC0000AA
    #define COLOR_BASIC 0x0066FFAA
    forward unlock
    ( playerid,vehicleid ) ;
    new locked[ MAX_PLAYERS ]
    [ MAX_VEHICLES ] ;
    public OnPlayerCommandText
    ( playerid, cmdtext [])
    {
    if ( strcmp( cmdtext , "/carjack0" , true )== 0)
    {
    if( IsPlayerInAnyVehicle
    ( playerid))
    {
    new State=GetPlayerState
    ( playerid);
    if( State!= PLAYER_STATE_DRIVER )
    {
    SendClientMessage
    ( playerid,COLOR_RED , "ERROR : You must be inside your vehicle!" );
    return 1 ;
    }
    new i;
    for ( i= 0 ;i < MAX_PLAYERS;i ++)
    {
    SetVehicleParamsForPlayer
    ( GetPlayerVehicleID( playerid), i , 0 , 0 );
    }
    SendClientMessage (playerid , COLOR_BASIC , "You are now Carjackable!") ;
    new Float:pX , Float: pY, Float: pZ;
    GetPlayerPos
    ( playerid,pX ,pY ,pZ );
    PlayerPlaySound( playerid, 1058, pX, pY, pZ) ;
    locked [playerid ]
    [ GetPlayerVehicleID( playerid)] =
    0 ;
    }
    else
    {
    SendClientMessage (playerid , COLOR_RED , "ERROR : You're not in a vehicle!" ) ;
    }
    return 1 ;
    }
    if ( strcmp( cmdtext , "/carjack1" , true )== 0)
    {
    if( IsPlayerInAnyVehicle
    ( playerid))
    {
    new State=GetPlayerState
    ( playerid);
    if( State!= PLAYER_STATE_DRIVER )
    {
    SendClientMessage
    ( playerid,COLOR_RED , "ERROR : You must be inside your vehicle!" );
    return 1 ;
    }
    new i;
    for ( i= 0 ;i < MAX_PLAYERS;i ++)
    {
    if( i != playerid)
    {
    SetVehicleParamsForPlayer
    ( GetPlayerVehicleID( playerid), i , 0 , 1 );
    }
    }
    SendClientMessage (playerid , COLOR_BASIC , "You are now anti Carjackable!") ;
    new Float:pX , Float: pY, Float: pZ;
    GetPlayerPos
    ( playerid,pX ,pY ,pZ );
    PlayerPlaySound
    ( playerid,1056 , pX, pY, pZ) ;
    PlayerPlaySound( playerid, 1137, pX, pY, pZ) ;
    locked [playerid ]
    [ GetPlayerVehicleID( playerid)] =
    1 ;
    }
    else
    {
    SendClientMessage (playerid , COLOR_RED , "ERROR : You're not in a vehicle!" ) ;
    }
    return 1 ;
    }
    return 0 ;
    }
    ////ANTI Carjack [FS]///
    //By : ViruZZzZ_ChiLLL//
    ////ANTI Catjack [FS]///

    #include
    #define COLOR_RED 0xCC0000AA
    #define COLOR_BASIC 0x0066FFAA
    forward unlock(playerid,vehicleid);
    new locked[MAX_PLAYERS][MAX_VEHICLES];


    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if (strcmp(cmdtext, "/carjack0", true)==0)
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    new State=GetPlayerState(playerid);
    if(State!=PLAYER_STATE_DRIVER)
    {
    SendClientMessage(playerid,COLOR_RED,"ERROR : You must be inside your vehicle!");
    return 1;
    }
    new i;
    for(i=0;i{
    SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0);
    }
    SendClientMessage(playerid, COLOR_BASIC, "You are now Carjackable!");
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid,pX,pY,pZ);
    PlayerPlaySound(playerid, 1058,pX,pY,pZ);
    locked[playerid][GetPlayerVehicleID(playerid)] = 0;
    }
    else
    {
    SendClientMessage(playerid, COLOR_RED, "ERROR : You're not in a vehicle!");
    }
    return 1;
    }


    if (strcmp(cmdtext, "/carjack1", true)==0)
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    new State=GetPlayerState(playerid);
    if(State!=PLAYER_STATE_DRIVER)
    {
    SendClientMessage(playerid,COLOR_RED,"ERROR : You must be inside your vehicle!");
    return 1;
    }
    new i;
    for(i=0;i{
    if(i != playerid)
    {
    SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1);
    }
    }
    SendClientMessage(playerid, COLOR_BASIC, "You are now anti Carjackable!");
    new Float:pX, Float:pY, Float:pZ;
    GetPlayerPos(playerid,pX,pY,pZ);
    PlayerPlaySound(playerid,1056,pX,pY,pZ);
    PlayerPlaySound(playerid, 1137,pX,pY,pZ);
    locked[playerid][GetPlayerVehicleID(playerid)] = 1;
    }
    else
    {
    SendClientMessage(playerid, COLOR_RED, "ERROR : You're not in a vehicle!");
    }
    return 1;
    }

    return 0;
    }
    Vezi subiectul anteriorSusVezi subiectul urmator
    Permisiunile acestui forum:
    Nu puteti raspunde la subiectele acestui forum