17.12.2012, 21:41
stock CountCreatedObjects() {
- new Objects = 0;
-
- for(new objectid = 0; objectid < MAX_OBJECTS; objectid++) {
- - if(IsValidObject(objectid)) Objects++;
- }
-
- return Objects;
}
Note: Every - is an indent.
Something like that... I guess.
- new Objects = 0;
-
- for(new objectid = 0; objectid < MAX_OBJECTS; objectid++) {
- - if(IsValidObject(objectid)) Objects++;
- }
-
- return Objects;
}
Note: Every - is an indent.
Something like that... I guess.