SA-MP Forums Archive
i had problem help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: i had problem help! (/showthread.php?tid=182030)



i had problem help! - [MKD]Max - 08.10.2010

When i do this commands i got problem so guys helpp me

Quote:

dcmd_ask(playerid, params[])
{
new message[128], string[128], name[MAX_PLAYER_NAME];
if (sscanf(params, "s", message)) SendClientMessage(playerid, COLOR_GREY, "Usage: /ask [message] Ask The Admins");
{
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s(%d): %s",name, playerid, message);
SendMessageToAdmins(COLOR_BLUE, string);
return true;
}
}

error i got :

Quote:

D:\Documents and Settings\MrThift\Desktop\maxe.pwn(327) : error 017: undefined symbol "SendMessageToAdmins"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.




Re: i had problem help! - SkizzoTrick - 08.10.2010

Did you forward the SendMessageToAdmins?


Re: i had problem help! - [MKD]Max - 08.10.2010

what you mean

forward SendMessageToAdmins Liek this you mean explain