12.03.2015, 23:36
I got a prox detector which is throwing Warnings, id believe its the proxdetector itself.
Warnings are
The problem is the Prox Detector definition there, I think its a lil broken :/
Код:
forward PlayerPlayerActionMessage(playerid,targetid,Float: radius,message[]); public PlayerPlayerActionMessage(playerid,targetid,Float: radius,message[]) { new ppamstring[128]; format(ppamstring,sizeof(ppamstring),"%s %s %s",GetPlayerName(playerid) ,message, GetPlayerName(targetid));//Line 2716 ProxDetector(20.0, playerid, ppamstring, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; }
Код:
(2716) : warning 202: number of arguments does not match definition (2716) : warning 202: number of arguments does not match definition (2716) : warning 202: number of arguments does not match definition (2716) : warning 202: number of arguments does not match definition