19.07.2012, 08:23
This info is so easy to come by i feel a bit like i'm breaking the rules helping you.
Have a look through some modes/filerscripts before asking something so simple please.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/profileinfo", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0xFFFFFFAA,"/profile For Your ID");
SendClientMessage(playerid,0xFFFFFFAA,"/profile full name /Part of name (for connected players");
SendClientMessage(playerid,0xFFFFFFAA,"/profilec To Close An Open Profile");
return 1;
}
else if(strcmp("/otherinfo", cmdtext, true, 10) == 0)
{
//bler bler boo boo
return 1;
}
return 0;
}

