Good Jailcommand and another question!
#1

Hi!

I'm searching for a good jailcommand, I made one by myself, but it didn't work and I deleted everything! Can anybody help me?


2.:

How to make this: In chatwindow, type /help for seeing help!

Then it will show my helptext!

Thanks!

Greets
Reply
#2

1: Use the forums search function...


2: Just look at the standard gm lvdm.pwn in the server package:
pawn Код:
if(strcmp(cmd, "/help", true) == 0) {
        SendPlayerFormattedText(playerid,"Las Venturas Deathmatch: Money Grub Coded By Jax and the SA-MP Team.",0);
        SendPlayerFormattedText(playerid,"Type: /objective : to find out what to do in this gamemode.",0);
        SendPlayerFormattedText(playerid,"Type: /givecash [playerid] [money-amount] to send money to other players.",0);
        SendPlayerFormattedText(playerid,"Type: /tips : to see some tips from the creator of the gamemode.", 0);
    return 1;
    }
Reply
#3

No, I want that the frame comes when the player joins the server!

He joins: Credits by .... blah...
Reply
#4

Quote:
Originally Posted by samtey
Посмотреть сообщение
No, I want that the frame comes when the player joins the server!

He joins: Credits by .... blah...
https://sampwiki.blast.hk/wiki/TextDrawCreate

https://sampforum.blast.hk/showthread.php?tid=254315

https://sampforum.blast.hk/showthread.php?tid=117851
Reply
#5

No, I want that the frame comes when the player joins the server!

He joins: Credits by .... blah...
Type /help for informations!


Can I do it with CMD?
Reply
#6

-REMOVED-

This forum requires that you wait 120 seconds between posts. Please try again in 61 seconds.
Reply
#7

RCON Admin command
pawn Код:
if(strcmp(cmdtext,"/helpmsg",true) == 0)
{
       if(!IsPlayerAdmin(playerid)) return 0;
       SendClientMessageToAll(-1,"-- Server by samtey --");
       SendClientMessageToAll(-1,"Type /help for list of commands !");
       // etc etc...
       return 1;
}
when user connects..
pawn Код:
public OnPlayerConnect(playerid)
{
       SendClientMessage(playerid,-1,"-- Server by samtey --");
       SendClientMessage(playerid,-1,"Type /help for list of commands !");
       // etc etc...
       return 1;
}
Reply
#8

I really dont know what you want ?Do you want SendClientMessage or what?If you want to get players Frame you should use GetPlayerFps ,there is a plugins or something else ,then use Textdrawstring to get it into a Textdraw...
Reply
#9

GetPlayerFps doesn't exist.
check my post i think i got what u ment, samtey
Reply
#10

Lol^^

Well, I don't want an RCON command! It should show it all normal players!

What do u mean with //etc etc, what to type there?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)