Good Jailcommand and another question! -
samtey - 30.07.2011
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
Re: Good Jailcommand and another question! -
robanswe - 30.07.2011
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;
}
AW: Good Jailcommand and another question! -
samtey - 30.07.2011
No, I want that the frame comes when the player joins the server!
He joins: Credits by .... blah...
Re: AW: Good Jailcommand and another question! -
robanswe - 30.07.2011
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
AW: Good Jailcommand and another question! -
samtey - 30.07.2011
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?
Re: AW: Good Jailcommand and another question! -
robanswe - 30.07.2011
-REMOVED-
This forum requires that you wait 120 seconds between posts. Please try again in 61 seconds.
Re: Good Jailcommand and another question! -
CmZxC - 30.07.2011
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;
}
AW: Good Jailcommand and another question! -
Forbidden - 30.07.2011
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...
Re: AW: Good Jailcommand and another question! -
CmZxC - 30.07.2011
GetPlayerFps doesn't exist.
check my post i think i got what u ment, samtey
AW: Good Jailcommand and another question! -
samtey - 30.07.2011
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?