Jump to content

mihai_10

Membru
  • Posts

    22
  • Joined

  • Last visited

    Never

Posts posted by mihai_10

  1. Deci am schimbat doar rank-urile la factiuni si uitati ce erori mi-a dat:

    [pawn]C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2213) : error 004: function "SetPlayerToTeamColor" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2238) : error 004: function "SetPlayerToTeamColor" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2813) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2817) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2829) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2833) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2837) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2841) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2845) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2849) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2853) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2865) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2869) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2873) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2877) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2881) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2893) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2897) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2901) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2913) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(2917) : error 004: function "PlayerToPoint" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(3449) : error 004: function "SendIRCMessage" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(3471) : error 004: function "SendIRCMessage" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(3483) : error 004: function "SaveCK" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(3513) : error 004: function "SavePapers" is not implemented

    C:\Users\User\Desktop\extreamgfxsv\gamemodes\originalbackup.pwn(3544) : error 004: function "SaveFamilies" is not implemented

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    26 Errors.

    [/pawn]

    Stiu ca este vorba despre { si } nepuse, dar nu stiu cum sa rezolv asta :| ...

  2. am facut exact ce ai zis si uite:

    [pawn]C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3169) : warning 219: local variable "string" shadows a variable at a preceding level

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3197) : warning 219: local variable "string" shadows a variable at a preceding level

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3330) : warning 219: local variable "string" shadows a variable at a preceding level

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3604) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3616) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3628) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3640) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3644) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3656) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3660) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3664) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3668) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3672) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3676) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3680) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3684) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3696) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3700) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3704) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3708) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3712) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3724) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3728) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3732) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3744) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3748) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3752) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4032) : error 004: function "ResetPlayerCash" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4035) : warning 219: local variable "string" shadows a variable at a preceding level

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4304) : warning 219: local variable "string" shadows a variable at a preceding level

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4310) : error 004: function "SendIRCMessage" is not implemented

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    26 Errors.

    [/pawn]

  3. Despre erorile astea ce zici? :|

    [pawn]C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(247) : error 021: symbol already defined: "PlayerToPoint"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3416) : error 054: unmatched closing brace ("}")

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4033) : error 004: function "ResetPlayerCash" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4311) : error 004: function "SendIRCMessage" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4333) : error 004: function "SendIRCMessage" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4345) : error 004: function "SaveCK" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4375) : error 004: function "SavePapers" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4379) : warning 219: local variable "family" shadows a variable at a preceding level

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4406) : error 004: function "SaveFamilies" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4642) : error 017: undefined symbol "OOCOff"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4654) : error 017: undefined symbol "OOCOff"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4672) : error 004: function "SaveStuff" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4674) : error 017: undefined symbol "OOCOff"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4680) : error 004: function "SaveStuff" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4682) : error 017: undefined symbol "OOCOff"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4710) : error 004: function "OnPlayerUpdateEx" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4876) : error 004: function "RemoveRoadblock" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4929) : warning 225: unreachable code

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4949) : error 017: undefined symbol "phousekey"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4952) : error 004: function "SafeResetPlayerWeapons" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4953) : error 004: function "SafeGivePlayerWeapon" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4949) : warning 204: symbol is assigned a value that is never used: "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4985) : error 017: undefined symbol "phouse"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4985) : error 029: invalid expression, assumed zero

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4989) : error 004: function "SetPlayerToTeamColor" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4990) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4991) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4992) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4993) : error 017: undefined symbol "house"

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    26 Errors.

    [/pawn]

  4. Acum am alta problema... :|

    Imi zice ceva de functii neimplementate... puteti sa ma ajutati cu fisierul a_players.inc? unul bun?

    Uitati erorile:

    [pawn]C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3604) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3616) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3628) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3640) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3644) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3656) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3660) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3664) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3668) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3672) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3676) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3680) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3684) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3696) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3700) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3704) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3708) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3712) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3724) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3728) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3732) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3744) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3748) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(3752) : error 004: function "PlayerToPoint" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4032) : error 004: function "ResetPlayerCash" is not implemented

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4310) : error 004: function "SendIRCMessage" is not implemented

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    26 Errors.

    [/pawn]

    Si aici liniile despre care zice..:

    [pawn]     if(PlayerToPoint(50,playerid,1689.1055,-1015.0319,23.9063) || PlayerToPoint(50,playerid,1642.4335,-1025.0067,23.8984) || PlayerToPoint(50,playerid,1639.1080,-1096.0895,23.9063) || PlayerToPoint(50,playerid,1579.5927,-1020.6734,23.9063))

    {

    return 1;

    }

    }

    return 0;

    }

    public IsAtADPlace(playerid)

    {

    if(IsPlayerConnected(playerid))

    {

        if(PlayerToPoint(3.0,playerid,847.6656,-1043.4241,25.4944) || PlayerToPoint(3.0,playerid,2127.5808,2378.2695,10.8203))

    {

    return 1;

    }

    }

    return 0;

    }

    public IsAtCarrental(playerid)

    {

    if(IsPlayerConnected(playerid))

    {

        if(PlayerToPoint(30.0,playerid,1696.5543,-1053.4685,23.9063))

    {

    return 1;

    }

    }

    return 0;

    }

    public IsAtClothShop(playerid)

    {

        if(IsPlayerConnected(playerid))

    {

            if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))

    {//Binco & Suburban

        return 1;

    }

    else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))

    {//Zip & Victim

        return 1;

    }

    }

    return 0;

    }

    public IsAtGasStation(playerid)

    {

        if(IsPlayerConnected(playerid))

    {

    if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))

    {//LS

        return 1;

    }

    else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))

    {//LS

        return 1;

    }

    else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))

    {//SF

        return 1;

    }

    else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))

    {//Between LS and SF

        return 1;

    }

    else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))

    {//LV

        return 1;

    }

    else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))

    {//LV

        return 1;

    }

    else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))

    {//LV

        return 1;

    }

    else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015))

    {//Dillimore

        return 1;

    }

    }

    return 0;

    }

    public IsAtFishPlace(playerid)

    {

    if(IsPlayerConnected(playerid))

    {

        if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))

    {//Fishplace at the bigwheel

        return 1;

    }

    else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))

    {//Fishplace at the bigwheel

        return 1;

    }

    else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))

    {//Fishplace at the bigwheel

        return 1;

    }

    else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))

    {//Fishplace at the bigwheel

        return 1;

    }

    else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))

    {//Fishplace at the bigwheel

        return 1;

    }

    }

    return 0;

    }

    public IsAtCookPlace(playerid)

    {

    if(IsPlayerConnected(playerid))

    {

        if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))

        {//Cluckin Bell

            return 1;

        }

        else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))

    {//Burgershot

        return 1;

    }

    else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))

    {//Well Stacked Pizza

        return 1;

    }

    }

    return 0;

    }

    public IsAtBar(playerid)

    {

        if(IsPlayerConnected(playerid))

    {

    if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797) || PlayerToPoint(6.5,playerid,2191.8809,1604.4807,1005.0625) || PlayerToPoint(6.5,playerid,1477.0769,-1412.3546,38.7762))

    {//In grove street bar (with girlfriend), and in Havanna

        return 1;

    }

    else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734))

    {//PIG Pen

        return 1;

    }

    else if(PlayerToPoint(4.0,playerid,-791.016,512.249,1336.41) || PlayerToPoint(10.0,playerid,-799.122,520.988,1336.41))

    {//Nortenos House

        return 1;

    }

    }

    return 0;

    }

    public IsABoat(carid)

    {

    if(carid == 10 || carid == 11)

    {

    return 1;

    }

    return 0;

    }

    public IsAHarvest(carid)

    {

    if(carid == 155 || carid == 156 || carid == 157 || carid == 158)

    {

    return 1;

    }

    return 0;

    }

    public IsADrugHarvest(carid)

    {

    if(carid == 159 || carid == 160 || carid == 161 || carid == 162)

    {

    return 1;

    }

    return 0;

    }

    public IsASmuggleCar(carid)

    {

    if(carid == 163 || carid == 164 || carid == 165)

    {

    return 1;

    }

    return 0;

    }

    public IsASweeper(carid)

    {

    if((carid >= 169) && (carid <= 171))

    {

        return 1;

    }

    return 0;

    }

    public IsAPlane(carid)

    {

    if(carid == 38 || carid == 55 || carid == 73 || carid == 167 || carid == 168)

    {

    return 1;

    }

    return 0;

    }

    public IsACopCar(carid)

    {

    if((carid >= 16) && (carid <= 38))

    {

    return 1;

    }

    return 0;

    }

    public IsAnFbiCar(carid)

    {

    if((carid >= 39) && (carid <= 44))

    {

        return 1;

    }

    return 0;

    }

    public IsNgCar(carid)

    {

    if((carid >= 1) && (carid <= 11))

    {

        return 1;

    }

    return 0;

    }

    public IsAGovernmentCar(carid)

    {

    if((carid >= 12) && (carid <= 15) || carid == 168)

    {

    return 1;

    }

    return 0;

    }

    public IsAHspdCar(carid)

    {

    if((carid >= 44) && (carid <= 51))

    {

        return 1;

    }

    return 0;

    }

    public IsATank(carid)

    {

    if(carid==5)

    {

    return 1;

    }

    return 0;

    }

    public IsAnAmbulance(carid)

    {

    if((carid >= 52) && (carid <= 55))

    {

    return 1;

    }

    return 0;

    }

    public IsATruck(carid)

    {

    if(carid >= 108 && carid <= 111)

    {

    return 1;

    }

    return 0;

    }

    public IsAPizzabike(carid)

    {

    if(carid >= 102 && carid <= 107)

    {

    return 1;

    }

    return 0;

    }

    public IsABus(carid)

    {

    if(carid == 59 || carid == 60)

    {

    return 1;

    }

    return 0;

    }

    public IsAllCars(carid)

    {

    if(carid >= 1 || carid <= 1000)

    {

    return 1;

    }

    return 0;

    }

    public IsATowcar(carid)

    {

    if(carid >= 1174 && carid <= 1177)

    {

    return 1;

    }

    return 0;

    }

    public IsATCCCar(carid)

    {

    if((carid == tcccar) || (carid == tcccar1) || (carid == tcccar2) || (carid == tcccar3))

    {

    return 1;

    }

    return 0;

    }

    public IsAGangCar(carid)

    {

    if((carid == cuncar) || (carid == cuncar1) || (carid == cuncar2) || (carid == cuncar3) || (carid == cuncar4) || (carid == cuncar5) || (carid == cuncar6))

    {

    return 1;

    }

    return 0;

    }

    public IsAGangCar2(carid)

    {

    if((carid == corcar) || (carid == corcar1) || (carid == corcar2) || (carid == corcar3) || (carid == corcar4) || (carid == corcar5))

    {

    return 1;

    }

    return 0;

    }

    public IsAGangCar3(carid)

    {

    if((carid == pcar) || (carid == pcar1) || (carid == pcar2) || (carid == pcar3) || (carid == pcar4) || (carid == pcar5) || (carid == pcar6))

    {

    return 1;

    }

    return 0;

    }

    public IsAGangCar4(carid)

    {

    if((carid == barcar) || (carid == barcar1) || (carid == barcar2) || (carid == barcar3) || (carid == barcar4) || (carid == barcar5))

    {

    return 1;

    }

    return 0;

    }

    public IsAGangCar5(carid)

    {

    if((carid == tatcar) || (carid == tatcar1) || (carid == tatcar2) || (carid == tatcar3) || (carid == tatcar4) || (carid == tatcar5) || (carid == tatcar6))

    {

    return 1;

    }

    return 0;

    }

    public IsAGangCar6(carid)

    {

    if((carid == scar) || (carid == scar1) || (carid == scar2) || (carid == scar3) || (carid == scar4) || (carid == scar5) || (carid == scar6))

    {

    return 1;

    }

    return 0;

    }

    stock IsABike(vehicleid)

    {

    new result;

    new model = GetVehicleModel(vehicleid);

        switch(model)

        {

            case 509, 481, 510, 462, 448, 581, 522, 461, 521, 523, 463, 586, 468, 471: result = model;

            default: result = 0;

        }

    return result;

    }

    stock IsABBike(vehicleid)

    {

    new result;

    new model = GetVehicleModel(vehicleid);

        switch(model)

        {

            case 481, 509, 510: result = model;

            default: result = 0;

        }

    return result;

    }

    public IsAOBike(carid)

    {

    if((carid >= 237 && carid <= 267))

    {

    return 1;

    }

    return 0;

    }

    //------------------------------------------------------------------------------------------------------

    public OnPlayerConnect(playerid)

    {

        new plname[MAX_PLAYER_NAME];

        GetPlayerName(playerid, plname, sizeof(plname));

        AFK[playerid]=0;

    if(Security != 0)

    {

        SendClientMessage(playerid, COLOR_YELLOW, "[sERVER]: Hostul a incalcat o regula,va fi pedepsit!");

        Kick(playerid);

        return 1;

        }

    SetVehicleNumberPlate(examc, " Scoala");

    ResetPlayerCash(playerid); //Resetting the players cash variable to zero.

    [/pawn]

  5. Buna, am incercat acum sa compilez un GM si tot ma bate capul cu erorile astea de la compilare ... am incercat sa fac una doua lucruri si tot nu imi merge.Acest GM imi da batai de cap X( Cine m-ar putea ajuta i-as fi foarte recunoscator...

    Compile errors:

    [pawn]C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4930) : warning 225: unreachable code

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4950) : error 017: undefined symbol "phousekey"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4950) : warning 204: symbol is assigned a value that is never used: "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4986) : error 017: undefined symbol "phouse"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4986) : error 029: invalid expression, assumed zero

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4991) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4992) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4993) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4994) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4995) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4996) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5013) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5014) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5148) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5149) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5184) : error 010: invalid function or declaration

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5243) : error 017: undefined symbol "f"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5243 -- 5245) : error 001: expected token: "}", but found "new"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5201) : warning 204: symbol is assigned a value that is never used: "killerteam"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5200) : warning 204: symbol is assigned a value that is never used: "victimteam"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195) : warning 203: symbol is never used: "playercash"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195 -- 5332) : warning 209: function "OnPlayerDeath" should return a value

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195 -- 5333) : error 010: invalid function or declaration

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195 -- 5333) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    18 Errors.[/pawn]

    Uitati aici si .pwn: http://www.mediafire.com/?iooxv5yajrmpza5

    Daca mai aveti nevoie si de altceva va rog sa spuneti! Fac orice doar ca sa ma ajutati... :(

  6. Buna, am incercat acum sa compilez un GM si tot ma bate capul cu erorile astea de la compilare ... am incercat sa fac una doua lucruri si tot nu imi merge.Acest GM imi da batai de cap X( Cine m-ar putea ajuta i-as fi foarte recunoscator...

    Compile errors:

    [pawn]C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4930) : warning 225: unreachable code

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4950) : error 017: undefined symbol "phousekey"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4950) : warning 204: symbol is assigned a value that is never used: "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4986) : error 017: undefined symbol "phouse"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4986) : error 029: invalid expression, assumed zero

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4991) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4992) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4993) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4994) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4995) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(4996) : error 017: undefined symbol "house"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5013) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5014) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5148) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5149) : error 017: undefined symbol "rand"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5184) : error 010: invalid function or declaration

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5243) : error 017: undefined symbol "f"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5243 -- 5245) : error 001: expected token: "}", but found "new"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5201) : warning 204: symbol is assigned a value that is never used: "killerteam"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5200) : warning 204: symbol is assigned a value that is never used: "victimteam"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195) : warning 203: symbol is never used: "playercash"

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195 -- 5332) : warning 209: function "OnPlayerDeath" should return a value

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195 -- 5333) : error 010: invalid function or declaration

    C:\Documents and Settings\Administrator\Desktop\AF-School RPG\gamemodes\AF-School RPG.pwn(5195 -- 5333) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    18 Errors.[/pawn]

    Uitati aici si .pwn: http://www.mediafire.com/?iooxv5yajrmpza5

    Daca mai aveti nevoie si de altceva va rog sa spuneti! Fac orice doar ca sa ma ajutati... :(

  7. Cred ca iti bati joc de noi toti cei de aici :| Cand am vazut topicul ma gandeam ca este steagul Romaniei pe stalpi prin orase ceva de genu', dar vad doar asta ca si cum nu ar fi putut face un scripter newbie asa ceva... scuze ca iti spun acest lucru, dar chiar am fost impresionat in sensul rau al cuvantului.

  8. Buna, dupa cum stiti cam pe toate serverele este comanda /togphone pentru a inchide telefonul insa pentru asta e nevoie de un cont premium ceea ce nu este RolePlay.Am telefon si nu pot sa-l inchid.Ar putea cineva sa-mi dea comanda /turn sau orice pentru a inchide telefonul?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.