I seriously don't know what to so here
#4

You can do something like this:
pawn Код:
enum ainport_info
{
    Float: fromx,
    Float: fromy,
    Float: fromz,
    Float: tox,
    Float: toy,
    Float: toz,
    traveldesc[35]
}
new
    gLocation[][ainport_info] = {
    {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, "Description"},
    {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, "Description"}
};

// Now you can use that like so:
SetPlayerPos(playerid, gLocation[0][fromx], gLocation[0][fromy], gLocation[0][fromz]);

new
    iStr[50];
format(iStr, sizeof(iStr), "Location description: %s", gLocation[0][traveldesc]);
SendClientMessage(playerid, -1, iStr);
Reply


Messages In This Thread
I seriously don't know what to so here - by Luis- - 24.09.2011, 20:36
Re: I seriously don't know what to so here - by knackworst - 24.09.2011, 20:38
Re: I seriously don't know what to so here - by FireCat - 24.09.2011, 20:44
Re: I seriously don't know what to so here - by [L3th4l] - 24.09.2011, 20:44
Re: I seriously don't know what to so here - by andrew4699 - 24.09.2011, 21:44
Re: I seriously don't know what to so here - by Luis- - 24.09.2011, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)