20.07.2009, 23:01
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
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; }