Raised This Month: $ Target: $400
 0% 

Help in some issues


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Claudiu
New Member
Join Date: May 2011
Old 05-08-2011 , 10:14   Help in some issues
Reply With Quote #1

First problem

I never understood how comes this. For example, if a user connects with a fps_max more than 101 then it will appear a message. I tried this but doesn't work:

Code:
public client_putinserver(id)
{
    new fpsmax[11];
    get_user_info(id, "fps_max", fpsmax, 10);

    if(fpsmax > 101) 
    {
        client_print(id, print_chat, "Watch out because you have your fps_max more than 101.");
    }

    etc....
But it says something like undefined index or array must be indexed.

Second problem

What is the difference between

new g_Variable[33] and new bool:g_Variable[33] ? Are there any other types?


Thanks for the support.
Claudiu is offline
Reply



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 04:28.


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