20.11.2010, 20:40
Hello Guys im having some troubles with proxdetector. Here is the code:
here is proxdetector
The errors im getting is:
Anyone can help?
pawn Код:
public OnPlayerText(playerid, text[])
{
format(string, sizeof(string), "%s says: %s", GetPlayerName(playerid), text);
ProxDetector(20.0, playerid, string,COLOR_WHITE);
return 1;
}
pawn Код:
forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
pawn Код:
: warning 219: local variable "string" shadows a variable at a preceding level
: error 010: invalid function or declaration
: warning 202: number of arguments does not match definition
: warning 202: number of arguments does not match definition
: error 004: function "ProxDetector" is not implemented