undefined get3dzone
#1

hey, i got those errors

PHP код:
C:\Users\User\Desktop\State City Roleplay\gamemodes\BACKUP OF SCRIPT.pwn(56696) : error 017undefined symbol "Get3DZone"
C:\Users\User\Desktop\State City Roleplay\gamemodes\BACKUP OF SCRIPT.pwn(56696) : warning 202number of arguments does not match definition
C
:\Users\User\Desktop\State City Roleplay\gamemodes\BACKUP OF SCRIPT.pwn(56730) : error 017undefined symbol "Get3DZone"
C:\Users\User\Desktop\State City Roleplay\gamemodes\BACKUP OF SCRIPT.pwn(56730) : warning 202number of arguments does not match definition 
the lines are:

PHP код:
56696Get3DZone(carPos[0], carPos[1], carPos[2], zonesizeof(zone));
56730Get3DZone(carPos[0], carPos[1], carPos[2], zonesizeof(zone)); 
my stock in gtazones.inc:

PHP код:
stock Get3DZone(Float:xFloat:yFloat:zzone[], len//Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
        for(new 
0!= sizeof(gSAZones); i++ )
        {
                if(
>= gSAZones[i][SAZONE_AREA][0] && <= gSAZones[i][SAZONE_AREA][3] && >= gSAZones[i][SAZONE_AREA][1] && <= gSAZones[i][SAZONE_AREA][4] && >= gSAZones[i][SAZONE_AREA][2] && <= gSAZones[i][SAZONE_AREA][5])
                {
                    return 
format(zonelengSAZones[i][SAZONE_NAME], 0);
                }
        }
        return 
0;

thanks a lot for helpers !
Reply
#2

Put that stock on the script and try.
Reply
#3

Didn't help tho I got fine with it, thanks for helping.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)