ProxDetector What is this HELP HELP
#1

Well sorry i cant show the script but maybe the errors i get them all about ProxDetector i dont no what it is what it dose (its not my script) how can i fix this ProxDetector here are the errors


C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(2151) : error 017: undefined symbol "Fixhour"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(4341) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(4354) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(4584) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(4599) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(6149) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(6473) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(6486) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(9184) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(10301) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(11246) : error 017: undefined symbol "encode_tires"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(11280) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(11287) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(11896) : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(13713) : error 004: function "FixHour" is not implemented
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(1447 : error 004: function "FixHour" is not implemented
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(14541) : error 004: function "FixHour" is not implemented
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(1583 : error 017: undefined symbol "dcmd_oprison"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\pwn(15840) : error 017: undefined symbol "dcmd_unban"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(15841) : error 017: undefined symbol "dcmd_banaccount"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(15842) : error 017: undefined symbol "dcmd_setaccent"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(15843) : error 017: undefined symbol "dcmd_deleteaccount"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(15844) : error 017: undefined symbol "dcmd_duel"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(15930) : error 004: function "ProxDetectorS" is not implemented
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\.pwn(1594 : error 017: undefined symbol "ProxDetector"
C:\Documents and Settings\HP_Administrator\Desktop\SAMP\Scripts\Per ry's Server\gamemodes\(16994) : error 017: undefined symbol "ProxDetector"

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


26 Errors.

any one who will help i thanked them and they will be the one who will be supported on this server
Reply
#2

You didnt add the ProxDetector... Its some kinda function wich is very handy. I dont know if you can DL it, otherwise try making one yourself.

And for the dcmd_duel and stuff, add "dcmd(duel,4,params??)" under OnPlayerCommandText (Dont copy, it isnt correct)

EDIT: Here it is (look below) Idk if its allowed to post. I will remove immediatly if the maker says to remove it. Also I forgot some defines

pawn Код:
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
{
    if(IsPlayerConnected(playerid))
    {
        new Float:posx, Float:posy, Float:posz;
        new Float:oldposx, Float:oldposy, Float:oldposz;
        new Float:tempposx, Float:tempposy, Float:tempposz;
        GetPlayerPos(playerid, oldposx, oldposy, oldposz);
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
            {
                GetPlayerPos(i, posx, posy, posz);
                tempposx = (oldposx -posx);
                tempposy = (oldposy -posy);
                tempposz = (oldposz -posz);
                if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
                {
                    SendClientMessage(i, col1, string);
                }
                else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
                {
                    SendClientMessage(i, col2, string);
                }
                else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
                {
                    SendClientMessage(i, col3, string);
                }
                else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
                {
                    SendClientMessage(i, col4, string);
                }
                else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
                {
                    SendClientMessage(i, col5, string);
                }
            }
            else
            {
                SendClientMessage(i, col1, string);
            }
        }
    }
    return 1;
}
Reply
#3

Well i think your missing the defines and includes.
Reply
#4

well thanks guys but if possible give me a link sorry (am kinda nobby on them stuff)
and tell me where 2 put it if possible thanks for ur suppoerts
Thank You
Elmerz_com
And
alpha500delta
Reply
#5

Don't use that proxdetector, it's made horribly and is 90% redundant

pawn Код:
stock ProxDetector(Float:radi, playerid, string[],color)
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    for(new player;player<MAX_PLAYERS;player++)
    {
        if(!IsPlayerConnected(playerid))continue;
        if(IsPlayerInRangeOfPoint(playerid,radi,x,y,z))SendClientMessage(player,color,string);
    }
}
Smaller, Faster, Better
Reply
#6

To explain this clearfully, ProxDetector is a sort of chatfunction that gets the distance between players. How further the distance between plays, how 'darker' the chatcolor. It's a very old function. It's used in the GodFather GM.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)