Array
hi, i'm making a simple plugin and i have a small problem , i kinda don't know how to make it work,
i'm trying to assign a string to an array and i've googled but found nothing of use , PHP Code:
NOTE : PlayerSkinPath[param1] and the other string are global , per player strings , i might look like a noob but can someone please help me make it work? |
Re: Array
PHP Code:
|
Re: Array
You can do like
PHP Code:
|
Re: Array
so then it would be like this?
Quote:
|
Re: Array
Quote:
StrCopy(PlayerSkinPath[param1], sizeof(PlayerSkinPath[]), SkinPath); |
Re: Array
Quote:
PHP Code:
what now? |
Re: Array
Quote:
|
Re: Array
Quote:
PHP Code:
|
Re: Array
You're creating a string with the size of MAXPLAYERS so I'm going to assume you want a string per client?
PHP Code:
|
Re: Array
Quote:
|
All times are GMT -4. The time now is 21:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.