Raised This Month: $ Target: $400
 0% 

What worng ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-22-2007 , 06:01   Re: What worng ?
Reply With Quote #2

First, post your error(s) and problem. Secondly, I assume it is an error you are getting. You are doing skp(id). That's the problem. Below is how to solve it:

When you do new skp, you MUST do new skp[33]. This means skp can hold 33 entries (32 entries for the players + 1). When assigning an element of skp with the player's id, it works like this:

skp[id] = get_user_frags(id)


I would highly suggest you read this Pawn tutorial as it seems you have no background experience with arrays
__________________
M249-M4A1 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode