Quote:
Originally Posted by park4bmx
yes because your not using it correctly!
pawn Код:
new saveammoex[MAX_PLAYERS][13]; format(string, 128, "GunId%d", s); if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGunz][s] = strval( val ); } format(string, 128, "Ammo%d",val); if( strcmp( key, string, true ) == 0) { val = ini_GetValue ( Data ); saveammoex[playerid][s] = strval ( val ); }
When you declared the "MAX_PLAYERS" is basically a define of "500" which then is set to the variable which means the variables is now an Arrey. which holds "MAX_PLAYERS" slots in it so it can store values in it for "MAX_PLAYERS"/"500" playerid.
So later on you will have to tell the script which exact playerid you want.
damm ;X
|
Thanks for the reply !
Damn man ...
sorry for being so stupid . but .. what should I do know lol