15.07.2016, 12:29
Quote:
1.
Code:
new pInfo[MAX_PLAYERS + 1][PlayerInfo]; Code:
pInfo[playerid] = pInfo[MAX_PLAYERS]; |
Quote:
Hey Yashas, thank you for this useful & helpful knowledge you've shared to the community. keep it up
![]() I'm having an error and a warning though, need help on this.. warning 229: index tag mismatch (symbol "pInfo") error 032: array index out of bounds (variable "pInfo") both on the same line which is ^ that one |
Quote:
This
PHP Code:
PHP Code:
I think, because every time at Coords[*] is called, need load the value i and the value from Coords, if you use the array only a time no have differences between speed. Sorry my bad english, someone smarter than me can explain better. |
Quote:
new gPlayerInfo[MAX_PLAYERS][PlayerData];
new playerInfo[PlayerData]; gPlayerInfo[playerid]=playerInfo; is not function memcpy is pawn faster than function memcpy |
Quote:
![]() |
Check Natives are faster than PAWN code in this (Click)topic to know more.
1. strfind is faster than that code
2. His code has a bug. It skips a character.
Quote:
No, it's not wrong. Learn PAWN before trying to call someone out like that.
|
He wanted to say that there is a bug and that code wont work because of i++ but he said it in a completely wrong and misleading way.