const explained please
#3

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
pawn Код:
static const
        Float:CameraPos[][3] =
    {
        {x, y, z},

    };
Use new if you want to load it in other scripts.
Can you also explain to me what does this number mean? '[3]', do I need to raise it if I want to add more coords?

I want to use it for gas stations, can I just call it like this? if(IsPlayerInRangeOfPoint(playerid, 8.0, CameraPos);

I will change its name so don't bother telling me that xD
Reply


Messages In This Thread
const explained please - by AndreiWow - 31.01.2017, 17:12
Re: const explained please - by Runn3R - 31.01.2017, 17:13
Re: const explained please - by AndreiWow - 31.01.2017, 17:17
Re: const explained please - by Runn3R - 31.01.2017, 17:20
Re: const explained please - by Vince - 31.01.2017, 17:21
Re: const explained please - by AndreiWow - 31.01.2017, 17:22
Re: const explained please - by Runn3R - 31.01.2017, 17:24
Re: const explained please - by AndreiWow - 31.01.2017, 17:26
Re: const explained please - by Runn3R - 31.01.2017, 17:27
Re: const explained please - by AndreiWow - 31.01.2017, 17:29

Forum Jump:


Users browsing this thread: 2 Guest(s)