14.09.2015, 22:38
PHP код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(!strcmp(name,"KillerDVX",true))
{
new string[64];
format(string, sizeof(string),This car is owned by %s", name);
SendClientMessage(playerid, -1, string);
}
return 1;
}