20.01.2013, 10:03
Quote:
Still the same error :/
pawn Код:
|
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new ownername[MAX_PLAYER_NAME];
new owner = AVehicleData[vehicleid][Owner];
GetPlayerName(playerid, ownername, sizeof(ownername));
if(!strcmp(owner, owername, true)) // I can't put ownername on the ""
{
new string[128];
format(string,sizeof(string), "You are the owner of this vehicle");
SendClientMessage(playerid, 0x0FF0000AA, string);
}
return 1;
}