Alternative chat

Započeo // xunder, Novembar 30, 2017, 23:34:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.


probo sam ubacit sve kako treba a i dalje ne radi
skazy42O

Reborn - Developer & Owner
- www.reborn-ogc.com

Update, pogledajte na download linku.

Mnogi su pitali kako da naprave death info...
Evo sa novim API

public OnPlayerConnect(playerid) {
createAltChat(playerid);
resetAltChat(playerid);
return 1;
}

public OnPlayerSpawn(playerid) {
if (!isAltChatToggled(playerid)) toggleAltChat(playerid, true);
return 1;
}

public OnPlayerDeath(playerid, killerid, reason) {
static string[100],
name[MAX_PLAYER_NAME];

GetPlayerName(playerid, name, sizeof name);

format(string, sizeof string, "Ubili ste igraca %s", name);
sendAltChatMessage(killerid, string);
return 1;
}

C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(21848) : error 017: undefined symbol "createAltChat"
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(21849) : error 017: undefined symbol "resetAltChat"
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(23164) : error 017: undefined symbol "isAltChatToggled"
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(23164) : error 017: undefined symbol "toggleAltChat"
C:\Users\DENIS\Desktop\/////\/////\gamemodes\/////_SCRIPT.pwn(23419) : error 017: undefined symbol "string"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
Scripter - Ventura Project
Ventura Project IP: 91.134.193.97:7790



Citat: Panter_Ademi poslato Decembar 31, 2017, 04:48:13 PRE PODNE
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(21848) : error 017: undefined symbol "createAltChat"
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(21849) : error 017: undefined symbol "resetAltChat"
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(23164) : error 017: undefined symbol "isAltChatToggled"
C:\Users\DENIS\Desktop\///// v3\/////\gamemodes\/////_SCRIPT.pwn(23164) : error 017: undefined symbol "toggleAltChat"
C:\Users\DENIS\Desktop\/////\/////\gamemodes\/////_SCRIPT.pwn(23419) : error 017: undefined symbol "string"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

#include .. . . . .

Facebook - Klik



Jesam include ali opet isti kurac.
Scripter - Ventura Project
Ventura Project IP: 91.134.193.97:7790

Citat: xᴜɴá´...ᴇʀ poslato Decembar 31, 2017, 03:31:51 PRE PODNE
Update, pogledajte na download linku.

Mnogi su pitali kako da naprave death info...
Evo sa novim API

public OnPlayerConnect(playerid) {
createAltChat(playerid);
resetAltChat(playerid);
return 1;
}

public OnPlayerSpawn(playerid) {
if (!isAltChatToggled(playerid)) toggleAltChat(playerid, true);
return 1;
}

public OnPlayerDeath(playerid, killerid, reason) {
static string[100],
name[MAX_PLAYER_NAME];

GetPlayerName(playerid, name, sizeof name);

format(string, sizeof string, "Ubili ste igraca %s", name);
sendAltChatMessage(killerid, string);
return 1;
}

Kol'ko glup kod..