08.09.2013, 12:49
I'm creating this public.
And I gets an error on the giveplayerid. How can I fix it?
pawn Код:
forward SearchCallHome(playerid);
public SearchCallHome(playerid)
{
new string[128];
new name[24];
GetPlayerName(giveplayerid, name, sizeof(name));//error line
format(string, sizeof(string),"I need information about %s's House. Contact me when you find it.", name);
ProxDetector(20.0, playerid, string, COLOR_PINK,COLOR_PINK,COLOR_PINK,COLOR_PINK,COLOR_PINK);
return 1;
}
Код:
C:\Users\Namn\Desktop\Server\gamemodes\larp.pwn(91130) : error 017: undefined symbol "giveplayerid"