Skip to content

Commit 52da321

Browse files
authored
Update README.md
1 parent 8f04fc3 commit 52da321

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ json_float(stringJson, "height", height); -> return -> 120.0
3434
3535
new field[...];
3636
for(new i = 0; i < json_array_length(stringJson, "arrayWithObject"); i++) {
37-
json_array_get(stringJson, "arrayWithObject", i, field);
37+
json_array_get(stringJson, "arrayWithObject", i, field);
3838
3939
// Now you can use the same methods above
4040
new discord[...];
41-
json_string(stringJson, "discord", discord); -> return -> "samp-lab" if two index "central studios"
41+
json_string(field, "discord", discord); -> return -> "samp-lab" if two index "central studios"
4242
4343
new players;
44-
json_int(stringJson, "players", players); -> return -> 22 if two index 45
44+
json_int(field, "players", players); -> return -> 22 if two index 45
4545
}
4646
```
4747

0 commit comments

Comments
 (0)