21.12.2010, 18:15
I'm trying to send a string to a function I got
However I am receiving errors on both of them the same just different arguments
1 and 3
Example:
I suppose I'm doing something wrong here?
pawn Code:
SendAdminWarning(hackstring);
pawn Code:
function SendAdminWarning(msg)
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if(AccountData[i][Admin] > 0)
{
SendClientMessage(i,COLOR_RED,msg);
}
}
}
1 and 3
Example:
pawn Code:
error 035: argument type mismatch (argument 3)