Errors +rep!!
#1

Pls. help me in fixing this error.
Код:
error 017: undefined symbol "PlayerName2"
on line
pawn Код:
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;
}
thnnx
Reply
#2

pawn Код:
PlayerName2(pID)
{
    new VBName[MAX_PLAYER_NAME];
    GetPlayerName(pID,VBName,MAX_PLAYER_NAME);
    return VBName
}
Reply
#3

thnnx +rep!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)