17.12.2010, 19:48
how do i make /fakechat and anims? i rlly don't know how to make it
dcmd_fakechat(playerid, params[])
{
new id,text[128];
if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, RED, "[HELP]: /fakechat ID TEXT");
if(!IsPlayerConnected(id)) return SendClientMessage(playerid, RED, "player offline");
SendPlayerMessageToAll(id,text);
return 1;
}
pawn Код:
And that doesn't work? |
dcmd(fakechat, 8, cmdtext);
dcmd_fakechat(playerid, params[]) { new id,text[128]; if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, COLOR_RED, "Usage: /fakechat [ID] [TEXT]"); if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "player offline"); SendPlayerMessageToAll(id,text); return 1; }
If you know dcmd then i hope you know where this goes
Код:
dcmd(fakechat, 8, cmdtext); Код:
dcmd_fakechat(playerid, params[]) { new id,text[128]; if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, COLOR_RED, "Usage: /fakechat [ID] [TEXT]"); if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "player offline"); SendPlayerMessageToAll(id,text); return 1; } |
If you know dcmd then i hope you know where this goes
Код:
dcmd(fakechat, 8, cmdtext); Код:
dcmd_fakechat(playerid, params[]) { new id,text[128]; if(sscanf(params, "us", id, text)) return SendClientMessage(playerid, COLOR_RED, "Usage: /fakechat [ID] [TEXT]"); if(!IsPlayerConnected(id)) return SendClientMessage(playerid, COLOR_RED, "player offline"); SendPlayerMessageToAll(id,text); return 1; } |