#1

hai, ill try to script my own gamemode, but i need help to script a cmd

if i typ /cmd there should be in the chat for the player who types this: all the cmds i made

sorry for by bad english
Reply
#2

Try using this: https://sampwiki.blast.hk/wiki/SendClientMessage
Reply
#3

yes but i want if a player typs /cmd he sees all the commands i made in pawno
Reply
#4

pawn Код:
if(strcmp(cmdtext, "/cmd", true)==0)
{
SendClientMessage(playerid, COLOR_WHITE, "COMMANDS: /Cmd1 /Cmd2 /Cmd3");
//Add more here.
return 1;
}
Like that?
Reply
#5

Yea Thanks!
Reply
#6

Quote:
Originally Posted by Fj0rtizFredde
Посмотреть сообщение
pawn Код:
if(strcmp(cmdtext, "/cmd", true)==0)
{
SendClientMessage(playerid, COLOR_WHITE, "COMMANDS: /Cmd1 /Cmd2 /Cmd3");
//Add more here.
return 1;
}
Like that?
xexe,not very hard
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)