Car system help..?
#1

Код:
for(new i = 0; i < 4; i++) format(strLoc, sizeof(strLoc), "Loc%d", i), INI_Float(strLoc, VehicleInfo[vehicleID][vLoc][i]);
errors:
Код:
C:\Users\Sander\Desktop\RGRP\gamemodes\PCRP.pwn(1688) : error 001: expected token: ";", but found "return"
C:\Users\Sander\Desktop\RGRP\gamemodes\PCRP.pwn(1688) : error 017: undefined symbol "i"
Reply
#2

Put it in parentheses.

pawn Код:
for(new i = 0; i < 4; i++)
{
    format(strLoc, sizeof(strLoc), "Loc%d", i);
    INI_Float(strLoc, VehicleInfo[vehicleID][vLoc][i]);
}
PS: Not sure.
Reply
#3

Stupid mistake.. xD Thank man.. :P +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)