sampgdk:error's (Max 32 arguments) - Unaware what the problem could be
#5

Quote:
Originally Posted by TakeiT
Посмотреть сообщение
Yeah my bad, i noticed after.

Do you use sscanf for loading?
Please elaborate - yes I use SSCANF a few places, but what do you put in "loading" ? Loading from the database and assigning to variables and such?
Mostly used for commands as for now. sscanf was widely used before i upgraded from MySQL R6 some months ago to assign the results into a set of arrays.

PHP код:
sscanf(Cps,"p<,>a<f>[49]",arrCoords2);
    
VehPos[0] = arrCoords2[0];
    
VehPos[1] = arrCoords2[1];
    
VehPos[2] = arrCoords2[2];
    
VehPos[3] = arrCoords2[3];
    
VehPos[4] = arrCoords2[4];
    
VehPos[5] = arrCoords2[5];
    
VehPos[6] = arrCoords2[6];
    
VehPos[7] = arrCoords2[7]; 
This would be one of 4 cases where sscanf is put to split up strings.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)