GoldMember

Cauți un plugin și nu găsești? Încearcă-ți norocul în această categorie!

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
User avatar
AcridGamer
Membru, skill +2
Membru, skill +2
Posts: 653
Joined: 01 Dec 2016, 17:06
Detinator Steam: Da
CS Status: Very Good
Detinator server CS: Da
SteamID: acridgamer3
Fond eXtream: 0
Location: Tulcea
Contact:

12 Jan 2020, 22:48

Salutari, caut si eu "goldmember" cu molotov ori grenada, doar atat.
Descriere: Cand pui in Nume (Exemplu EXTREAMCS.COM) la fiecare spawn iti da o grenada sau un molotov
Tranzactii Reusite

Discord Click
[*1*] Click
[*2*] Click

[*3*] Click
[*4*] Click
[*5*] Click

"Un subscribe va rog Gamer Channel" By LORD KALU #KALUTU MAGIC

ImageImage
Kiwk
Membru, skill 0
Membru, skill 0
Posts: 24
Joined: 23 Nov 2017, 22:54
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

13 Jan 2020, 00:17

este deja un gold member public.
modifici acolo premiile
Filiq_
Utilizator neserios
Utilizator neserios
Posts: 733
Joined: 02 Nov 2014, 18:21
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Scripter eXtreamCS
Utilizator neserios
Fond eXtream: 0
Location: Constanta
Has thanked: 26 times
Been thanked: 16 times

13 Jan 2020, 00:44

| Afiseaza codul
#include <sourcemod>
#include <sdktools> 

public Plugin:myinfo = {
	name = "GoldMember",
	author = "Filiq_",
	description = "",
	version = "1.0"
}

#define SERVER "ce vrei sa aiba in nume"

char gName[MAXPLAYERS][MAX_NAME_LENGTH]

public OnPluginStart() {
	HookEvent("player_spawn", Event_PlayerSpawn)
}

public OnClientPutInServer(int client) {
	GetClientName(client, gName[client], MAX_NAME_LENGTH)
}

public Action Event_PlayerSpawn(Handle event, const char name[], bool dontBroadcast) {
	int client = GetClientOfUserId(GetEventInt(event, "userid"))  

	if(StrContains(gName[client], SERVER)) {
		GivePlayerItem(client, "weapon_hegrenade")
		GivePlayerItem(client, "weapon_molotov")
	}
}
testeaza, nu stiu daca functioneaza, dar ar trebui
User avatar
AcridGamer
Membru, skill +2
Membru, skill +2
Posts: 653
Joined: 01 Dec 2016, 17:06
Detinator Steam: Da
CS Status: Very Good
Detinator server CS: Da
SteamID: acridgamer3
Fond eXtream: 0
Location: Tulcea
Contact:

13 Jan 2020, 05:40

Code: Select all

plugin.sp(23) : error 159: brackets after variable name indicate a fixed-size array, but size could not be determined - either specify sizes, an array initializer, or use dynamic syntax (such as 'char[] x')

1 Error.
Eroare
Tranzactii Reusite

Discord Click
[*1*] Click
[*2*] Click

[*3*] Click
[*4*] Click
[*5*] Click

"Un subscribe va rog Gamer Channel" By LORD KALU #KALUTU MAGIC

ImageImage
Filiq_
Utilizator neserios
Utilizator neserios
Posts: 733
Joined: 02 Nov 2014, 18:21
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Scripter eXtreamCS
Utilizator neserios
Fond eXtream: 0
Location: Constanta
Has thanked: 26 times
Been thanked: 16 times

13 Jan 2020, 16:38

AcridGamer wrote:
13 Jan 2020, 05:40

Code: Select all

plugin.sp(23) : error 159: brackets after variable name indicate a fixed-size array, but size could not be determined - either specify sizes, an array initializer, or use dynamic syntax (such as 'char[] x')

1 Error.
Eroare
schimba char cu "String"
User avatar
AcridGamer
Membru, skill +2
Membru, skill +2
Posts: 653
Joined: 01 Dec 2016, 17:06
Detinator Steam: Da
CS Status: Very Good
Detinator server CS: Da
SteamID: acridgamer3
Fond eXtream: 0
Location: Tulcea
Contact:

13 Jan 2020, 17:42

plugin.sp(13) : error 098: type "String" should be "char"

=))
Tranzactii Reusite

Discord Click
[*1*] Click
[*2*] Click

[*3*] Click
[*4*] Click
[*5*] Click

"Un subscribe va rog Gamer Channel" By LORD KALU #KALUTU MAGIC

ImageImage
Kiwk
Membru, skill 0
Membru, skill 0
Posts: 24
Joined: 23 Nov 2017, 22:54
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

13 Jan 2020, 19:56

public Action Event_PlayerSpawn(Handle event, const char name[], bool dontBroadcast) {
pune const char[] name si o sa mearga. dar este mai ok daca iei numele jucatorului la conectare si verifici daca are numele. apoi in functia de SettingChange verifici cand isi schimba numele daca scoate dns-ul
public void OnClientSettingsChanged(int client) {
char name[MAX_NAME_LENGTH];
GetClientName(client, name, sizeof(name));
// Verifici daca contine dns
}

LLG Alex
#1421 pe discord te ajut.. nu prea imi place sa vorbesc pe forumuri e mai greu cu intelesul
User avatar
AcridGamer
Membru, skill +2
Membru, skill +2
Posts: 653
Joined: 01 Dec 2016, 17:06
Detinator Steam: Da
CS Status: Very Good
Detinator server CS: Da
SteamID: acridgamer3
Fond eXtream: 0
Location: Tulcea
Contact:

13 Jan 2020, 21:39

Kiwk wrote:
13 Jan 2020, 19:56
public Action Event_PlayerSpawn(Handle event, const char name[], bool dontBroadcast) {
pune const char[] name si o sa mearga. dar este mai ok daca iei numele jucatorului la conectare si verifici daca are numele. apoi in functia de SettingChange verifici cand isi schimba numele daca scoate dns-ul
public void OnClientSettingsChanged(int client) {
char name[MAX_NAME_LENGTH];
GetClientName(client, name, sizeof(name));
// Verifici daca contine dns
}

LLG Alex
#1421 pe discord te ajut.. nu prea imi place sa vorbesc pe forumuri e mai greu cu intelesul
ti-am dat
Tranzactii Reusite

Discord Click
[*1*] Click
[*2*] Click

[*3*] Click
[*4*] Click
[*5*] Click

"Un subscribe va rog Gamer Channel" By LORD KALU #KALUTU MAGIC

ImageImage
Filiq_
Utilizator neserios
Utilizator neserios
Posts: 733
Joined: 02 Nov 2014, 18:21
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Scripter eXtreamCS
Utilizator neserios
Fond eXtream: 0
Location: Constanta
Has thanked: 26 times
Been thanked: 16 times

13 Jan 2020, 22:05

Kiwk wrote:
13 Jan 2020, 19:56
public Action Event_PlayerSpawn(Handle event, const char name[], bool dontBroadcast) {
pune const char[] name si o sa mearga. dar este mai ok daca iei numele jucatorului la conectare si verifici daca are numele. apoi in functia de SettingChange verifici cand isi schimba numele daca scoate dns-ul
public void OnClientSettingsChanged(int client) {
char name[MAX_NAME_LENGTH];
GetClientName(client, name, sizeof(name));
// Verifici daca contine dns
}

LLG Alex
#1421 pe discord te ajut.. nu prea imi place sa vorbesc pe forumuri e mai greu cu intelesul
pentru un plugin asa de micut nu avea rost sa mai stau sa iau numele la conectare si dupa sa mai si verific daca il schimba
xSaG
Membru, skill +1
Membru, skill +1
Posts: 167
Joined: 10 Aug 2017, 23:21
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Has thanked: 1 time
Been thanked: 2 times
Contact:

13 Jan 2020, 23:38

:forefinger:
-
:everything_ok:
Last edited by xSaG on 15 Jan 2020, 23:00, edited 1 time in total.
Ai nevoie de un plugin personalizat pentru CsGo? Ei bine eu ți-l pot face contra cost.
CSGO.PLAYARENA.RO -> Cel mai unic server de competitive din România
Filiq_
Utilizator neserios
Utilizator neserios
Posts: 733
Joined: 02 Nov 2014, 18:21
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Reputatie: Fost Scripter eXtreamCS
Utilizator neserios
Fond eXtream: 0
Location: Constanta
Has thanked: 26 times
Been thanked: 16 times

14 Jan 2020, 01:02

Code: Select all

 
DNS[TotalDNS][]
for(int i = 0; i < TotalDNS; i++)
=>

Code: Select all

DNS[][]
for(int i = 0; i < sizeof DNS; i++)
si nu mai esti limitat de nimic, nu mai stai sa modifici mereu rahata aia de limita, aici nu prea are importanta daca pui limita aia dar la alte pluginuri da
User avatar
AcridGamer
Membru, skill +2
Membru, skill +2
Posts: 653
Joined: 01 Dec 2016, 17:06
Detinator Steam: Da
CS Status: Very Good
Detinator server CS: Da
SteamID: acridgamer3
Fond eXtream: 0
Location: Tulcea
Contact:

14 Jan 2020, 08:57

Rezolvat , multam tuturor!
Tranzactii Reusite

Discord Click
[*1*] Click
[*2*] Click

[*3*] Click
[*4*] Click
[*5*] Click

"Un subscribe va rog Gamer Channel" By LORD KALU #KALUTU MAGIC

ImageImage
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests