User
Pass
2FA
 
 

Cerere adaugare nivel + comanda xp

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message1482
JuNNky

[Mentally Stable]



Status: Offline
(since 23-10-2015 21:32)
Joined: 29 Jul 2015
Posts: 83, Topics: 17
Location: Romania

Reputation: 6.8

Post Posted: 21-09-2015, 18:59:27 | Translate post to: ... (Click for more languages)

Salut! Vreau ca cineva sa imi adauge inca 32 de nivele ( adica in total sa fie 50 in loc de 18 - xp sa il seteze cum vrea el ca il modific eu dupa ) si sa imi adauge o comanda prin care pot da acel xp. Comanda : amx_givexp. Iar comanda sa o poata folosii doar Detinatorii.

Spoiler:

0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 22-09-2015, 18:17:14 | Translate post to: ... (Click for more languages)

Adaugi aici in continuare.
Spoiler:



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
JuNNky

[Mentally Stable]



Status: Offline
(since 23-10-2015 21:32)
Joined: 29 Jul 2015
Posts: 83, Topics: 17
Location: Romania

Reputation: 6.8

Post Posted: 22-09-2015, 19:06:38 | Translate post to: ... (Click for more languages)

da , dar eu vreau si o comanda prin care sa dau exp care sa fie accesata doar detinatori. amx_givexp nume xp
0 0
  
Back to top
View user's profile Send private message
JuNNky

[Mentally Stable]



Status: Offline
(since 23-10-2015 21:32)
Joined: 29 Jul 2015
Posts: 83, Topics: 17
Location: Romania

Reputation: 6.8

Post Posted: 24-09-2015, 21:23:53 | Translate post to: ... (Click for more languages)

Man deci eu fac cerere sa imi modifice un scripter care se pricepe ca altfel puteam incerca si eu chestia asta.. eu vreau sa imi modifici sa fie in loc de 18 nivele , 40 si sa foloseasca toate UN SINGUR SPR , adica alege tu unul din sma. Comanda "free_give" sa o inlocuiesti cu "amx_givexp" si sa aiba acces doar fondatorii. Daca ma ajuti , ma ajuti , daca nu zi-mi sa caut alt om si gata.
0 0
  
Back to top
View user's profile Send private message
GoguSM

[.: ZMGO.FREAKZ.RO :.]



Status: Offline
(since 16-03-2022 00:38)
Joined: 24 Aug 2013
Posts: 1516, Topics: 71
Location: Brasov

Reputation: 1144
Votes: 95

Post Posted: 24-09-2015, 22:56:21 | Translate post to: ... (Click for more languages)

Vezi asa, eu nu prea ma uit pe la scripting... ca nam timp dar na
Spoiler:

0 0
  
Back to top
View user's profile Send private message
JuNNky

[Mentally Stable]



Status: Offline
(since 23-10-2015 21:32)
Joined: 29 Jul 2015
Posts: 83, Topics: 17
Location: Romania

Reputation: 6.8

Post Posted: 25-09-2015, 18:20:37 | Translate post to: ... (Click for more languages)

Imi da eroare ca level19 spr not found. Daca se poate sa imi pui de la level 19 - 40 sa fie toate pe sprul de la 18 . iar la comanda de dat xp sa aiba acces doar detinatorii.
0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 25-09-2015, 18:37:54 | Translate post to: ... (Click for more languages)

Problema e de aici
->
for(new i = 0; i < sizeof(RANKS); i++)
{
formatex(szFile, charsmax(szFile), "sprites/zombie_plague/level/%i.spr", i)
g_iSprite[i] = precache_model(szFile)
}
pui din sizeof(RANKS) ==> 18



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message
GoguSM

[.: ZMGO.FREAKZ.RO :.]



Status: Offline
(since 16-03-2022 00:38)
Joined: 24 Aug 2013
Posts: 1516, Topics: 71
Location: Brasov

Reputation: 1144
Votes: 95

Post Posted: 25-09-2015, 19:08:52 | Translate post to: ... (Click for more languages)

Fa cum ti-a zis deluxe, si pentr-u doar owner, pune accesu la cvar, doar la owneri, ca daca admini au acces la cvar, poate face prapad -. + Schimba hudu in asta
Code:
public InfoHud(id)
{
id -= TASK_INFO

new PlayerInfoHud = CreateHudSyncObj()
new iHudLocation = get_pcvar_num(g_iHudLocation)

new szColors[16]
new szRed[4], szGreen[4], szBlue[4]
new iRed, iGreen, iBlue

get_pcvar_string(g_iHudColors, szColors, charsmax(szColors))
parse(szColors, szRed, charsmax(szRed), szGreen, charsmax(szGreen), szBlue, charsmax(szBlue))
iRed = str_to_num(szRed); iGreen = str_to_num(szGreen); iBlue = str_to_num(szBlue);

if(!is_user_alive(id))
{
static iSpec; iSpec = entity_get_int(id, EV_INT_iuser2)

if(!is_user_alive(iSpec))
return

new iSpecName[32]
get_user_name(iSpec, iSpecName, charsmax(iSpecName))

switch(iHudLocation)
{
case 1:
{
if(g_iLevel[iSpec] == 40)
{
set_hudmessage(iRed, iGreen, iBlue, 0.01, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Spectating: %s] ^n[Level: Complete] ^n[EXP: Complete]", iSpecName)
}
else
{
set_hudmessage(iRed, iGreen, iBlue, 0.01, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Spectating: %s] ^n[Level: %s] ^n[EXP: %d/ %d]", iSpecName, RANKS[g_iLevel[iSpec]], g_iXP[iSpec], EXP[g_iLevel[iSpec] + 1])
}
}
case 2:
{
if(g_iLevel[iSpec] == 40)
{
set_hudmessage(iRed, iGreen, iBlue, 0.75, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Spectating: %s] ^n[Level: Complete] ^n[EXP: Complete]", iSpecName)
}
else
{
set_hudmessage(iRed, iGreen, iBlue, 0.75, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Spectating: %s] ^n[Level: %s] ^n[EXP: %d/ %d]", iSpecName, RANKS[g_iLevel[iSpec]], g_iXP[iSpec], EXP[g_iLevel[iSpec] + 1])
}
}
}
}
else
{
switch(iHudLocation)
{
case 1:
{
if(g_iLevel[id] == 40)
{
set_hudmessage(iRed, iGreen, iBlue, 0.01, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Level: Complete] ^n[EXP: Complete]")
}
else
{
set_hudmessage(iRed, iGreen, iBlue, 0.01, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Level: %s] ^n[EXP: %d/ %d]",RANKS[g_iLevel[id]], g_iXP[id], EXP[g_iLevel[id] + 1])
}
}
case 2:
{
if(g_iLevel[id] == 40)
{
set_hudmessage(iRed, iGreen, iBlue, 0.75, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Level: Complete] ^n[EXP: Complete]")
}
else
{
set_hudmessage(iRed, iGreen, iBlue, 0.75, 0.28, 0, 6.0, 12.0, 0.0, 0.0, -1)
ShowSyncHudMsg(id, PlayerInfoHud,"[Level: %s] ^n[EXP: %d/ %d]",RANKS[g_iLevel[id]], g_iXP[id], EXP[g_iLevel[id] + 1])
}
}
}
}
}

0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 25-09-2015, 19:31:24 | Translate post to: ... (Click for more languages)

DOAR owner =>

register_clcmd("amx_givexp","cl_give", ADMIN_FLAG, "Enable to give free EXP")

register_clcmd("amx_givexp","cl_give")

si

Spoiler:

======>
Spoiler:



Retired from Amxmodx



Last edited by destroi112 on 29-09-2015, 15:08:52; edited 1 time in total
0 0
  
Back to top
View user's profile Send private message
JuNNky

[Mentally Stable]



Status: Offline
(since 23-10-2015 21:32)
Joined: 29 Jul 2015
Posts: 83, Topics: 17
Location: Romania

Reputation: 6.8

Post Posted: 25-09-2015, 22:40:34 | Translate post to: ... (Click for more languages)

Am modificat eu si mi-a dat multe erori , so I am noob sorry... Daca puteti sa imi lasati direct modificat totul ( nu ma pricep ). Sa imi adaugati la spr pana la 40 , sa imi puneti 40 de nivele , la comanda sa aibe acces doar fondatorii si sa imi schimbati chesti cu hudul... Cum am spus mai sus am incercat si mi-a dat sute de erori -

Spoiler:

0 0
  
Back to top
View user's profile Send private message
JuNNky

[Mentally Stable]



Status: Offline
(since 23-10-2015 21:32)
Joined: 29 Jul 2015
Posts: 83, Topics: 17
Location: Romania

Reputation: 6.8

Post Posted: 28-09-2015, 18:42:26 | Translate post to: ... (Click for more languages)

Up. Se mai ocupa cineva?
0 0
  
Back to top
View user's profile Send private message
destroi112

[DEV]



Status: Offline
(since 12-03-2020 22:13)
Joined: 24 May 2014
Posts: 4042, Topics: 119
Location: ---------

Reputation: 515.9
Votes: 118

   
Post Posted: 29-09-2015, 15:11:21 | Translate post to: ... (Click for more languages)

So Hard ->
Spoiler:



Retired from Amxmodx

0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by destroi112, 07 October 2015 11:59



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  


The time now is 08-07-2024, 17:52:01
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password