View Single Post
pan0s
Senior Member
Join Date: Nov 2017
Old 12-05-2021 , 19:58   Re: [L4D2] Statistic and Ranking System (SRS) [v2.1 | 23 June 2021]
Reply With Quote #16

Quote:
Originally Posted by NoroHime View Post
compile error at scripting\l4d2_srs.sp(636)
error 101: fixed dimensions must be after the array name, not on the type error
to fix it just swap [] position like
const float pos[3]
Just like the message said...

Code:
public void ShowParticle(const float[3] pos, const char[] particlename, float time)
TO:
Code:
public void ShowParticle(const float pos[3], const char[] particlename, float time)
BTW, I don't have that problem when compiling it.
pan0s is offline