Search Results
https://sampwiki.blast.hk/wiki/NetStats_GetConnectedTime
Try to use this, see if it fixes the prob..
EDIT: You don't save it to sql or something else, no?
645
Quote:
Originally Posted by CopKing123
Oh nevermind. I had some bugs in OnPlayerDamage, but now I fixed it. However, thank you David.
Ey man, how did you fix it? I'm facing the same pro...
520
Quote:
Originally Posted by Adamoneoone
Did you try using DamagePlayer?
No i didnt, should i really use it and cant use setplayerhealth?
EDIT: So, i've tried it without adding anything...
468
i'm using weapon-config.inc by Slice and couldnt use the /kill and /class commands. They were unknown command..
Here's the code :
pawn Code:
CMD:class(playerid, params[]){Â Â SetPlayerHealth(playe...
468
you have to make the database in the panel first. use "localhost" in your script as the server name
287
Quote:
Originally Posted by Kwarde
pawn Code:
DCC_GetGuildMemberRoleCount(guild, author, roleCount);if(channel == g_Discord_Admin_CMD) {Â Â if(!strcmp(command, "!mycommand", true)) {Â ...
1,073
Quote:
Originally Posted by killermvc
pawn Code:
new DCC_Role:role, rolename[128];//<<<<<<<<<<<<<<<<<<<<Â Â DCC_GetRoleName(r...
1,073
bump please anyone.. i really need it
1,073
Quote:
Originally Posted by SharpenBlade
From what I see, your variable name rolename is an array. So the check should be like this:
So, is this already correct? Because i dont even thi...
1,073
How can i get the 'rolename'?
pawn Code:
forward DCC_OnMessageCreate(DCC_Message:message);public DCC_OnMessageCreate(DCC_Message:message){Â Â new realMsg[100];Â Â DCC_GetMessageContent(message, r...
1,073
1 more question..
How can i get the 'rolename'?
pawn Code:
forward DCC_OnMessageCreate(DCC_Message:message);public DCC_OnMessageCreate(DCC_Message:message){Â Â new realMsg[100];Â Â DCC_GetMessage...
424
Quote:
Originally Posted by SharpenBlade
I am not sure you can. Try like this:
PHP Code:
if(channel == g_Discord_Admin_CMD)
{
    if(!strcmp(command, "!mycommand", true))Â
 Â...
424
pawn Code:
if(channel == g_Discord_Admin_CMD)Â Â {Â Â Â Â if(!strcmp(command, "!mycommand", true)) {Â Â Â Â Â Â if(role == (g_Role_Level_1 || g_Role_Level_2 || g_Role_Level_3 || g_Role_Le...
424
Quote:
Originally Posted by Shadow0707
You can check this https://sampforum.blast.hk/showthread.php?tid=616103 then do it in reverse.
So there's no other way except updating the mysql p...
544
Quote:
Originally Posted by Unrea1
This will work in MySQL plugin R41-4, also you need the library strlib for the function strcpy.
strlib.inc https://sampforum.blast.hk/showthread.php?tid...
544
I'm using this filterscript but I want it in mysql
Firstly, I tried this :
pawn Code:
public OnGameModeInit(){Â Â print("\n--------------------------------------");Â Â print("Ultimate Label Crea...
544
PHP Code:
if(InDM[playerid]Â ==Â 0Â &&Â PlayerInfo[playerid][Color]Â ==Â 1)Â {
        new colorhex[128];
        switch(PlayerInfo[playerid][pColor]) {
        Â...
321
Quote:
Originally Posted by Calisthenics
Code:
cache_get_field_content_int(0, registered, mysql);
pawn Code:
native cache_get_field_content_int(row, const field_name[], connectionHandle ...
588
Quote:
Originally Posted by jasperschellekens
Try this:
pawn Code:
mysql_query(mysql, "SELECT * FROM `accounts`"); // I always use SELECT ID or something else rather than everything (*)n...
588