How would I go about doing this?
#1

I'm thinking of a vehicle system designated by IDs, meaning the position of your boat is determined by your ID.

At the moment I have:

pawn Код:
new
    g_BoatID = 0,
        p_BoatID[MAX_PLAYERS char] = -1
;
OnPlayerConnect I have:

pawn Код:
g_BoatID++;
Now, my question is, can I place the coordinates in an array, and load them like:

pawn Код:
p_BoatID{playerid} = CreateVehicle(572, BoatPos[g_BoatIDX][playerid], BoatPos[BoatIDY][playerid], BoatPos[BoatIDZ][playerid], BoatPos[BoatA][playerid] ..);
Reply


Messages In This Thread
How would I go about doing this? - by 2KY - 19.01.2012, 01:09
Re: How would I go about doing this? - by Lorenc_ - 19.01.2012, 01:17
Re: How would I go about doing this? - by 2KY - 19.01.2012, 01:30
Re: How would I go about doing this? - by Lorenc_ - 19.01.2012, 02:00
Re: How would I go about doing this? - by 2KY - 19.01.2012, 02:06
Re: How would I go about doing this? - by 2KY - 19.01.2012, 18:55
Re: How would I go about doing this? - by Scenario - 19.01.2012, 20:06
Re: How would I go about doing this? - by 2KY - 19.01.2012, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)