Raised This Month: $ Target: $400
 0% 

About levels and level system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 04-05-2017 , 10:07   Re: About levels and level system
Reply With Quote #1

Quote:
Originally Posted by Str4x3D1x View Post
Wait, but what does

sz stands for ?

Code:
enum Knife
{
Thunder Knife[ 45 ],
2
}
What is [45] and what is sz ?
Also what do i replace szMenu with ?

I didn't really understand that :s
Code:
    enum _:eblabla
    {
    szKnifeName[ 45 ],
    iKnifeLevel
    }
45 is the size of knives name, sz is nothing just name i used for enums

but szKnifeName
you use in menu to see knives names:
Code:
formatex( szMenu, charsmax( szMenu ), "\w%s \d[\rLOCKED \d- \rREQUIRES LEVEL %d\d]",
szblabla[ Index ] [ szKnifeName ], szblabla[ Index ] [ PlayerLevel ] );
read here:
https://forums.alliedmods.net/showthread.php?t=140103

about enum

Last edited by Fuck For Fun; 04-05-2017 at 10:08.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
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 17:51.


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