Search found 554 matches

by czirimbolo
4 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

Try: #include <zombie_escape> // Defines #define MAX_LEVEL 10 #define TASK_SHOWHUD 2020 #define TASK_DOUBLE 1133 #define REPEAT_TIME 60.0 #define ID_SHOWHUD (taskid - TASK_SHOWHUD) #define LEVELUP "levelup_ZE/ze_levelup.wav" enum { Host = 0, User, Pass, DB } new const g_iMaxLevelsXP[MAX_LEVEL] = { ...
by czirimbolo
4 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

Not tested: #include <zombie_escape> // Defines #define MAX_LEVEL 10 #define TASK_SHOWHUD 2020 #define TASK_DOUBLE 1133 #define REPEAT_TIME 60.0 #define ID_SHOWHUD (taskid - TASK_SHOWHUD) #define LEVELUP "levelup_ZE/ze_levelup.wav" enum { Host = 0, User, Pass, DB } new const g_iMaxLevelsXP[MAX_LEVE...
by czirimbolo
4 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

Provide the code Raheem fixed it for you. Provide more information about double XP you want. #include <zombie_escape> // Defines #define MAX_LEVEL 50 #define MAX_XP 5000000000 #define TASK_SHOWHUD 2020 #define TASK_DOUBLE 1133 #define REPEAT_TIME 60.0 #define ID_SHOWHUD (taskid - TASK_SHOWHUD) #def...
by czirimbolo
4 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

Sorry for the late reply. I have updated the code, just make sure you set g_iMaxLevelsXP indexes equally to MAX_LEVEL. So for example if set MAX_LEVEL to 20, there must be 20 indexes like this: #define MAX_LEVEL 10 new const g_iMaxLevelsXP[MAX_LEVEL] = { 10, // 1 20, // 2 30, // 3 40, // 4 50, // 5...
by czirimbolo
4 Months Ago
Forum: Public Requests
Topic: error fix
Replies: 3
Views: 485

Re: error fix

sPe3doN wrote:
4 Months Ago
i try it and there is no error for me :confused:
Image

zm_party.rar
compiling is fine but I am talking about errors in my logs. Plugin is working but it shows me these errors
by czirimbolo
4 Months Ago
Forum: Public Requests
Topic: error fix
Replies: 3
Views: 485

error fix

Can someone help me to fix this error? /* LOGS: ****************************************************************** ******** 1.3 ******** - added cvar (active by default) for players' earning to be cut by half. - check if player is connected when inviting (as it was giving errors) * 1.3.1: - bug fixe...
by czirimbolo
4 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

L 09/03/2019 - 21:19:01: [AMXX] Displaying debug trace (plugin "ze_level_system.amxx", version "1.9") L 09/03/2019 - 21:19:01: [AMXX] Run time error 4: index out of bounds L 09/03/2019 - 21:19:01: [AMXX] [0] ze_level_system.sma::Check_User_Level (line 335) L 09/03/2019 - 21:19:01: [AMXX] [1] ze_leve...
by czirimbolo
4 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

And your default code for level system with MAX xp is not compiling. Have you ever tested it? //// ze_level_system.sma // // C:\Users\macie\Documents\Compiler v1.8.3\scripting\ze_level_system.sma(25) : error 018: initialization data exceeds declared size // C:\Users\macie\Documents\Compiler v1.8.3\...
by czirimbolo
5 Months Ago
Forum: Gameplay
Topic: Levels-XP System
Replies: 122
Views: 20428

Re: Levels-XP System

Are you going to fix this?
by czirimbolo
5 Months Ago
Forum: Bug Reports
Topic: Player Join Server Spam Restarting
Replies: 7
Views: 1291

Re: Player Join Server Spam Restarting

this problem should be fixed in 1,5 version. What version of mod do you use now?