! - . . , , . , , , (, ) . !





VK: vk.com/sergey68

76890 - 1000,46860 - 500, 300
** V.I.P --> **

: .

1 5 5

  1. #1

      Axel_Fouley

    :
    :03.12.2010
    :670
    :100 [+/-] 

    .

    , .
    . :
    :
    )SetPlayerCheckpoint(playerid,Float:x,Float:y,Float :z,Float:size); - , .
    :
    playerid ID ,
    Float:x -
    Float:y Y-
    Float:z Z-
    Float:size .
    )IsPlayerInCheckpoint(playerid) - ,
    :
    playerid - ID .
    )DisablePlayerCheckpoint(playerid); - .
    :
    playerid - ID , .
    :
    OnPlayerEnterCheckpoint(playerid) - .
    OnPlayerLeaveCheckpoint(playerid) -

    :
    PHP :
    #include <a_samp> 
    public OnPlayerSpawn(playerid

    SetPlayerCheckpoint(playerid,1232.122,1235.552,10.223423,3.0);//    ,   . 
    return 1


    public 
    OnPlayerEnterCheckpoint(playerid

    GivePlayerMoney(playerid,500); 
    SendClientMessage(playerid,0x00FF00FF,"-! ,   500$"); 
    DisablePlayerCheckpoint(playerid);//   ,     ,    . 
    return 1

    500$ . , , . :
    PHP :
    #include <a_samp> 

    new pCheckpoint[MAX_PLAYERS];// ,         . 
    enum //   enum    , ..     ,     

    CHECKPOINT_MONEY
    CHECKPOINT_HEALTH 

    public 
    OnPlayerCommandText(playerid,cmdtext[]) //   ,     

    if(!
    strcmp(cmdtext,"/checkmoney",true)) 

    SetPlayerCheckpoint(playerid,1232.122,1235.552,10.223423,3.0);//    ,   . 
    pCheckpoint[playerid]=CHECKPOINT_MONEY;// ..    ,      
    return 1

    if(!
    strcmp(cmdtext,"/checkhealth",true)) 

    SetPlayerCheckpoint(playerid,1232.122,1235.552,10.223423,3.0);//    ,   . 
    pCheckpoint[playerid]=CHECKPOINT_HEALTH;// ..    ,      
    return 1

    return 
    1


    public 
    OnPlayerEnterCheckpoint(playerid

    switch(
    pCheckpoint[playerid]) 

    case 
    CHECKPOINT_MONEY

    GivePlayerMoney(playerid,500); 
    SendClientMessage(playerid,0x00FF00FF,"-! ,   500$"); 
    DisablePlayerCheckpoint(playerid);//   ,     ,    . 
    return 1

    case 
    CHECKPOINT_HEALTH

    new 
    Float:health
    GetPlayerHealth(playerid,health); 
    SetPlayerHealth(playerid,health+10.0); 
    SendClientMessage(playerid,0x00FF00FF,"-! ,     "); 
    DisablePlayerCheckpoint(playerid);//   ,     ,    . 
    return 1


    return 
    1

    , , . , , .
    PHP :
    #include <a_samp> 
    forward inCheckpoint(); 
    new 
    pCheckpoint[MAX_PLAYERS];// ,         . 
    enum //   enum    , ..     ,     

    CHECKPOINT_MONEY
    CHECKPOINT_HEALTH 

    public 
    OnGameModeInit() 

    SetTimer("inCheckpoint",10000,true);// 1   10     
    return 1

    public 
    OnPlayerCommandText(playerid,cmdtext[]) //   ,     

    if(!
    strcmp(cmdtext,"/checkmoney",true)) 

    SetPlayerCheckpoint(playerid,1232.122,1235.552,10.223423,3.0);//    ,   . 
    pCheckpoint[playerid]=CHECKPOINT_MONEY;// ..    ,      
    return 1

    if(!
    strcmp(cmdtext,"/checkhealth",true)) 

    SetPlayerCheckpoint(playerid,1232.122,1235.552,10.223423,3.0);//    ,   . 
    pCheckpoint[playerid]=CHECKPOINT_HEALTH;// ..    ,      
    return 1

    return 
    1


    public 
    inCheckpoint() 

    for(new 
    idx=GetMaxPlayers();idx>=0;--idx

    if(
    IsPlayerConnected(idx)&&IsPlayerInCheckpoint(idx)) 

    switch(
    pCheckpoint[idx]) 

    case 
    CHECKPOINT_MONEY

    GivePlayerMoney(idx,500); 
    SendClientMessage(idx,0x00FF00FF,"-! ,   500$"); 
    return 
    1

    case 
    CHECKPOINT_HEALTH

    GetPlayerHealth(playerid,health); 
    SetPlayerHealth(playerid,health+10.0); 
    SendClientMessage(idx,0x00FF00FF,"-! ,     "); 
    return 
    1




    return 
    1

    .
    :
    )SetPlayerRaceCheckpoint(playerid, type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size) -
    :
    playerid - ID
    type - .0-, 1-, 2- ( ), 3- , 4-
    Float:x - X-
    Float:y - Y-
    Float:z - Z-
    Float:nextx - X- , .. .
    Float:nexty - Y- , .. .
    Float:nextz - Z- , .. .
    Float:size - ( )
    )DisablePlayerRaceCheckpoint(playerid); -
    :
    )IsPlayerInRaceCheckpoint(playerid) - ,
    )OnPlayerEnterRaceCheckpoint(playerid) -
    )OnPlayerLeaveRaceCheckpoint(playerid) -

    :
    PHP :
    #include <a_samp> 
    public OnPlayerSpawn(playerid

    SetPlayerRaceCheckpoint(playerid,2,1233.1222,1456.7442,15.1244,0.0,0.0,0.0,5.0);//    .    0.0,     2,     . 
    return 1

    public 
    OnPlayerEnterRaceCheckpoint(playerid

    SendClientMessage(playerid,0xff0000ff,"It work."); 
    DisablePlayerRaceCheckpoint(playerid); 
    return 
    1

    ,"It work.", . :
    PHP :
    #include <a_samp> 
    new race[MAX_PLAYERS];//       . 
    new Float:Race[3][6]= { 
    {
    12.1234,15.5112,20.2222,15.2122,9.2322,16.2322}, 
    {
    15.2122,9.2322,16.2322,18.1233,7.1222,14.0002}, 
    {
    18.1233,7.1222,14.0002,0.0,0.0,0.0
    };
    //    ,    3 ,         
    public OnPlayerCommandText(playeridcmdtext[]) 

    if(!
    strcmp(cmdtext,"/racestart",true)) 

    race[playerid]=0
    SetPlayerRaceCheckpoint(playerid,2,Race[race[playerid]][0],Race[race[playerid]][1],Race[race[playerid]][2],0.0,0.0,0.0,5.0);//    0.0     2. 
    return 1

    return 
    1


    public 
    OnPlayerEnterRaceCheckpoint(playerid

    race[playerid]++; 
    if(
    race[playerid]<sizeof(Race))SetPlayerRaceCheckpoint(playerid,0,Race[race[playerid]][0],Race[race[playerid]][1],Race[race[playerid]][2],Race[race[playerid]][3],Race[race[playerid]][4],Race[race[playerid]][5],5.0);//      ,     0. 
    else if(race[playerid]==sizeof(Race)) DisablePlayerRaceCheckpoint(playerid); 

    return 
    1

    , .
    -Morino_Reigan : samp-rus.com
  2. 1 c Axel_Fouley :

    [Mixa] (03.02.2012)

  3. #2

      Sharp

    :
    :28.02.2012
    :9
    :0 [+/-] 
    , , . !
    , (c)
  4. #3

      kyller

    :
    :05.11.2011
    :Pawno-Info.ru
    :1,665
    :248 [+/-] 
    .
  5. #4

      alex-fal

    :
    :21.05.2016
    :2
    :0 [+/-] 
    pawno .
  6. #5

    D:\Games\Milford RP v6.0\Milford RP\pawno\include\streamer.inc(411) : error 079: inconsistent return types (array & non-array)
    D:\Games\Milford RP v6.0\Milford RP\pawno\include\streamer.inc(431) : error 017: undefined symbol "Streamer_OnPlayerLeaveCP"
    D:\Games\Milford RP v6.0\Milford RP\pawno\include\streamer.inc(451) : error 017: undefined symbol "Streamer_OnPlayerEnterRaceCP"
    D:\Games\Milford RP v6.0\Milford RP\pawno\include\streamer.inc(471) : error 017: undefined symbol "Streamer_OnPlayerLeaveRaceCP"
    D:\Games\Milford RP v6.0\Milford RP\pawno\include\streamer.inc(494) : error 017: undefined symbol "Streamer_OnPlayerWeaponShot"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(5528) : error 017: undefined symbol "SetVehicleToRespawnEx"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(5573) : error 017: undefined symbol "GetStackSize"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(5592) : error 017: undefined symbol "LoadGZ"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(5593) : error 017: undefined symbol "LoadPick1"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(5676) : error 017: undefined symbol "GetDayNumber"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7529) : error 017: undefined symbol "zFuelUpdate"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7643) : error 017: undefined symbol "UpdateFillingText"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7736) : error 017: undefined symbol "UpdateBusinessText"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7787) : error 017: undefined symbol "UpdateEconomic"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7790) : error 017: undefined symbol "LoadDeliveryData"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7916) : error 017: undefined symbol "SaveServerData"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7925) : error 017: undefined symbol "SpawnPlayerEx"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7928) : error 017: undefined symbol "SpawnPlayerEx"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7939) : error 017: undefined symbol "PreloadAllAnims"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7953) : error 017: undefined symbol "NewKick"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7967) : error 017: undefined symbol "NewKick"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(7998) : error 017: undefined symbol "loadTD"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(8008) : error 017: undefined symbol "GetCarSlot"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(8015) : error 017: undefined symbol "GetCarSlot"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(8014) : warning 204: symbol is assigned a value that is never used: "carID"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(8033) : error 017: undefined symbol "SetVehicleToRespawnEx"
    D:\Games\Milford RP v6.0\Milford RP\gamemodes\mode1.pwn(8045) : error 017: undefined symbol "SetVehicleToRespawnEx"

    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


    26 Errors.

, : 7

(, , , , , ), , .
!
samp-rp advanvce pawn s0beit cs 1.6 0.3x World of Tanks samp-rp, samp-rp, - PAWNO SA-MP IV-MP MTA cleo s0beit sobeit sa-mp sa-mp pawno pawno pawno iv-mp iv-mp iv-mp godfather SAMP gta 4 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather rp roleplay samp-rp sa-mp sa-mp pawno gta-iv gta-v gta-sa gta-3 gta-III gta-4 gta-5 gta-vc mta mta-dm mta-race mta-sa pawno info ru pawno pawno gta-iv gta-iv gta-v gta-v gta-iv keygen gta sa gta 4 multiplayer gta san adnreas multiplayer sa-mp forum sa-mp pawno sa-mp pawno sa-mp gta-sa pawno pawno errors sa-mp 0.3c SA-MP 0.3d 4 GTA 4 GTA 4 GTA 4 SAMP SAMP Pen1 LS Pen1 Fugitive The Godfather SAMP hack rat android instagram twitter ddos root linux ubuntu mac android advance arizona 4g