Spawn Not In Place :(
#6

here is the function of loadrace
Quote:

function LoadRace(playerid, rName[])
{
new
rFile[256],
string[256]
;
format(rFile, sizeof(rFile), "/rRaceSystem/%s.RRACE", rName);
if(!dini_Exists(rFile)) return SendClientMessage(playerid, RED, "<!> Race doesn't exist!"), printf("Race \"%s\" doesn't exist!", rName);
strmid(RaceName, rName, 0, strlen(rName), sizeof(RaceName));
RaceVehicle = dini_Int(rFile, "vModel");
RaceType = dini_Int(rFile, "rType");
RaceMode = dini_Int(rFile, "RaceMode");
TotalCP = dini_Int(rFile, "TotalCP");
printf("VehicleModel: %d", RaceVehicle);
#if DEBUG_RACE == 1
printf("RaceType: %d", RaceType);
printf("RaceMode: %d", RaceMode);
printf("TotalCheckpoints: %d", TotalCP);
#endif

Reply


Messages In This Thread
Spawn Not In Place :( - by professional killer - 06.10.2014, 07:40
Re: Spawn Not In Place :( - by Josh_Main - 06.10.2014, 07:49
Re: Spawn Not In Place :( - by professional killer - 06.10.2014, 08:40
Re: Spawn Not In Place :( - by jueix - 06.10.2014, 08:42
Re: Spawn Not In Place :( - by Matess - 06.10.2014, 08:43
Re: Spawn Not In Place :( - by professional killer - 06.10.2014, 08:46
Re: Spawn Not In Place :( - by professional killer - 06.10.2014, 08:50
Re: Spawn Not In Place :( - by Matess - 06.10.2014, 08:53

Forum Jump:


Users browsing this thread: 1 Guest(s)