[help]Drag Racing
#8

Thx now it compile but when I tested it with my friend it kinda worked the first time but when he tried to challenge me he spawned without his car then he crashed

I think it has something to do with how I indexed my arrays
Код:
//PUBLIC ARRAYS & VARS----------------------------------------------------------

new targetid, bet;

new challenger[MAX_PLAYERS];
SetChallengerValue(playerid, value)
{
	challenger[targetid] = playerid;
}

new challengerveh[MAX_PLAYERS];
SetChallengerVehValue(playerid, value)
{
	challengerveh[targetid] = GetPlayerVehicleID(playerid);
}

new stakes[MAX_PLAYERS];
SetStakesValue(playerid, value)
{
	stakes[targetid] = bet;
}
Reply


Messages In This Thread
[help]Drag Racing - by JadedJ - 15.07.2009, 18:41
Re: Plz Help with my Drag racing script...plz - by JadedJ - 17.07.2009, 15:10
Re: Plz Help with my Drag racing script...plz - by yezizhu - 17.07.2009, 15:27
Re: Plz Help with my Drag racing script...plz - by JadedJ - 17.07.2009, 21:18
Re: Spawn something in front of player - by yezizhu - 18.07.2009, 00:04
Re: [help]Drag Racing - by JadedJ - 20.07.2009, 16:53
Re: [help]Drag Racing - by yezizhu - 20.07.2009, 17:43
Re: [help]Drag Racing - by JadedJ - 20.07.2009, 23:01
Re: [help]Drag Racing - by yezizhu - 23.07.2009, 17:02
Re: [help]Drag Racing - by JadedJ - 28.07.2009, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)