Help! Error
#7

DEFINE THEM! Don't only paste parts to your script, you need to define them first, otherwise you'll get errors/warning.
Let's start;
Use GetPlayerName instead of GetPlayerNameEx, or use GetPlayerNameEx(playerid); by adding the following stock
pawn Код:
// At the bottom
stock GetPlayerNameEx(playerid) // <-- This stock for GetPlayerNameEx(playerid);
{
    new nname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, nname, sizeof(nname));
    return nname;
}
Also
pawn Код:
// At the top, under includes/define
forward NameTimer(/* parameters here, if there are */)

// At the bottom
stock Float:GetPointDistanceToPointExMorph(Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2)
{
    new Float:x, Float:y, Float:z;
    x = x1-x2;
    y = y1-y2;
    z = z1-z2;
    return floatsqroot(x*x+y*y+z*z);
}
Reply


Messages In This Thread
Help! Error - by Gold_Master - 30.11.2012, 12:20
Re: Help! Error - by [D]ry[D]esert - 30.11.2012, 12:22
Re: Help! Error - by Gold_Master - 30.11.2012, 12:31
Re: Help! Error - by [D]ry[D]esert - 30.11.2012, 12:32
Re: Help! Error - by gtakillerIV - 30.11.2012, 12:33
Re: Help! Error - by Gold_Master - 30.11.2012, 12:39
Re: Help! Error - by Konstantinos - 30.11.2012, 12:51
Re: Help! Error - by Gold_Master - 30.11.2012, 13:05
Re: Help! Error - by Konstantinos - 30.11.2012, 13:08
Re: Help! Error - by Gold_Master - 30.11.2012, 14:53

Forum Jump:


Users browsing this thread: 5 Guest(s)