error 017: undefined symbol "PlayerName2"
if (strcmp(VehicleInfo[GetPlayerVehicleID(playerid)][owner],PlayerName2(playerid),false) == 0)
{
format(string, sizeof(string), "You already own this %s, %s", VehicleInfo[GetPlayerVehicleID(playerid)][vname],PlayerName2(playerid));
SendClientMessage(playerid, COLOR_BRIGHTRED, string);
return 1;
}
PlayerName2(pID)
{
new VBName[MAX_PLAYER_NAME];
GetPlayerName(pID,VBName,MAX_PLAYER_NAME);
return VBName
}