/ame command,please help.
#1

Hi,i have this:
Quote:

public OnPlayerText(playerid, text[])
{
// Your command code
SetPlayerChatBubble(playerid, text, 0xFF0000FF, 100.0, 10000);
return 0; //he said not in chat place
}

And this :
Quote:

command(ame, playerid, params[]) {
if(!isnull(params))
return SetPlayerChatBubble(playerid, params, 0xFF0000FF, 75.0, 1000);

return SendClientMessage(playerid, 0, "Syntax: /ame [command]");
}

But none work, please help me. Please tell me how to put comanda.Comanda must do: eg /ame lift arm down. and overhead is so: X(name of player) lift arm down.. ...please help me..sorry for my bad english
Reply
#2

Are you using scanff2?
Reply
#3

yes,but not work,i need another system for /ame ...
Reply
#4

You are using ZCMD or something ?
Reply
#5

Yes,i using ZCMD...but not work.i use gamemode night life role play...please helpme
Reply
#6

Isn't ZCMD like:
pawn Код:
COMMAND:ame(playerid, params[])
Reply
#7

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
Isn't ZCMD like:
pawn Код:
COMMAND:ame(playerid, params[])
I think u mean aim, not ame!

pawn Код:
CMD:aim(playerid, params[])
if(!isnull(params))
return SetPlayerChatBubble(playerid, params, 0xFF0000FF, 75.0, 1000);

return SendClientMessage(playerid, 0, "Syntax: /ame [command]");
}
//rest of your code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)